Stefan Dösinger : wined3d: Don' t check the FBO status if FIXMEs are off.

Alexandre Julliard julliard at winehq.org
Fri Jun 10 11:16:19 CDT 2011


Module: wine
Branch: master
Commit: 7b39005256d2179b74e1962b1ba6d6555112d206
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7b39005256d2179b74e1962b1ba6d6555112d206

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Fri May 27 16:17:25 2011 +0200

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

---

 dlls/wined3d/context.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index b077c5f..3eb6c7d 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -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;
     GLenum status;
 
+    if (!FIXME_ON(d3d)) return;
+
     status = gl_info->fbo_ops.glCheckFramebufferStatus(target);
     if (status == GL_FRAMEBUFFER_COMPLETE)
     {




More information about the wine-cvs mailing list