wined3d: Don't use framebuffer blit for backbuffer formats with fixups in swapchain_blit().

This commit is contained in:
Henri Verbeet 2010-03-16 19:02:15 +01:00 committed by Alexandre Julliard
parent 60e98cc3ad
commit 570f865bad

View File

@ -114,7 +114,7 @@ static void swapchain_blit(IWineD3DSwapChainImpl *This, struct wined3d_context *
else else
gl_filter = GL_LINEAR; gl_filter = GL_LINEAR;
if (gl_info->fbo_ops.glBlitFramebuffer) if (gl_info->fbo_ops.glBlitFramebuffer && is_identity_fixup(backbuffer->resource.format_desc->color_fixup))
{ {
ENTER_GL(); ENTER_GL();
context_bind_fbo(context, GL_READ_FRAMEBUFFER, &context->src_fbo); context_bind_fbo(context, GL_READ_FRAMEBUFFER, &context->src_fbo);