mirror of
https://github.com/reactos/wine.git
synced 2024-12-11 13:26:00 +00:00
wined3d: Don't use framebuffer blit for backbuffer formats with fixups in swapchain_blit().
This commit is contained in:
parent
60e98cc3ad
commit
570f865bad
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user