mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
wined3d: Properly check for glBlitFramebuffer().
ARB_framebuffer_object can also provide this entry point.
This commit is contained in:
parent
6f3b494463
commit
7160e56ab1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user