Module: wine Branch: master Commit: 7160e56ab100876c0039f29412aab45cbe7a34f2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7160e56ab100876c0039f29412...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Sun Dec 27 19:57:19 2009 +0100
wined3d: Properly check for glBlitFramebuffer().
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);