Commit 60e98cc3 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Don't use filtering on textures that need complex fixups in swapchain_blit().

For example, interpolating palette indices doesn't have the desired result. Should we really want filtering for these cases we could implement it inside the relevant shaders, after the fixup, but I doubt it's worth the effort.
parent c48adfe2
......@@ -152,6 +152,9 @@ static void swapchain_blit(IWineD3DSwapChainImpl *This, struct wined3d_context *
tex_bottom /= src_h;
}
if (is_complex_fixup(backbuffer->resource.format_desc->color_fixup))
gl_filter = GL_NEAREST;
ENTER_GL();
context_bind_fbo(context2, GL_DRAW_FRAMEBUFFER, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment