wined3d: Don't check the FBO status if FIXMEs are off.
This commit is contained in:
parent
980c50a087
commit
7b39005256
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue