[PATCH 1/5] wined3d: Properly check for glBlitFramebuffer().
Henri Verbeet
hverbeet at codeweavers.com
Sun Dec 27 12:57:19 CST 2009
ARB_framebuffer_object can also provide this entry point.
---
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 ad257f5..445fbbf 100644
--- a/dlls/wined3d/swapchain.c
+++ b/dlls/wined3d/swapchain.c
@@ -110,7 +110,7 @@ static inline void swapchain_blit(IWineD3DSwapChainImpl *This, struct wined3d_co
if(w == window.right && h == window.bottom) gl_filter = GL_NEAREST;
else gl_filter = GL_LINEAR;
- if(gl_info->supported[EXT_FRAMEBUFFER_BLIT])
+ if (gl_info->fbo_ops.glBlitFramebuffer)
{
ENTER_GL();
context_bind_fbo(context, GL_READ_FRAMEBUFFER, &context->src_fbo);
--
1.6.4.4
More information about the wine-patches
mailing list