wined3d: Don't check the FBO status if FIXMEs are off.

This commit is contained in:
Stefan Dösinger 2011-05-27 16:17:25 +02:00 committed by Alexandre Julliard
parent 980c50a087
commit 7b39005256
1 changed files with 2 additions and 0 deletions

View File

@ -304,6 +304,8 @@ void context_check_fbo_status(struct wined3d_context *context, GLenum target)
const struct wined3d_gl_info *gl_info = context->gl_info; const struct wined3d_gl_info *gl_info = context->gl_info;
GLenum status; GLenum status;
if (!FIXME_ON(d3d)) return;
status = gl_info->fbo_ops.glCheckFramebufferStatus(target); status = gl_info->fbo_ops.glCheckFramebufferStatus(target);
if (status == GL_FRAMEBUFFER_COMPLETE) if (status == GL_FRAMEBUFFER_COMPLETE)
{ {