wined3d: Properly check for glBlitFramebuffer().

ARB_framebuffer_object can also provide this entry point.
This commit is contained in:
Henri Verbeet 2009-12-27 19:57:19 +01:00 committed by Alexandre Julliard
parent 6f3b494463
commit 7160e56ab1

View File

@ -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);