[PATCH 1/5] wined3d: GL_DRAW_FRAMEBUFFER depends on either ARB_framebuffer_object or EXT_framebuffer_blit.

Henri Verbeet hverbeet at codeweavers.com
Wed Sep 8 04:24:46 CDT 2010


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

diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c
index 455eb47..3326411 100644
--- a/dlls/wined3d/swapchain.c
+++ b/dlls/wined3d/swapchain.c
@@ -165,7 +165,7 @@ static void swapchain_blit(IWineD3DSwapChainImpl *This, struct wined3d_context *
             gl_filter = GL_NEAREST;
 
         ENTER_GL();
-        context_bind_fbo(context2, GL_DRAW_FRAMEBUFFER, NULL);
+        context_bind_fbo(context2, GL_FRAMEBUFFER, NULL);
 
         /* Set up the texture. The surface is not in a IWineD3D*Texture container,
          * so there are no d3d texture settings to dirtify
-- 
1.7.1




More information about the wine-patches mailing list