From c48adfe20177fc0745d2df6307d7ea010772bc92 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Tue, 16 Mar 2010 19:02:13 +0100 Subject: [PATCH] wined3d: Use "gl_filter" in the non-FBO path of swapchain_blit() as well. --- dlls/wined3d/swapchain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c index 79c2bd8b448..c99b1c95a0b 100644 --- a/dlls/wined3d/swapchain.c +++ b/dlls/wined3d/swapchain.c @@ -161,8 +161,8 @@ static void swapchain_blit(IWineD3DSwapChainImpl *This, struct wined3d_context * device->blitter->set_shader((IWineD3DDevice *) device, backbuffer->resource.format_desc, backbuffer->texture_target, backbuffer->pow2Width, backbuffer->pow2Height); - glTexParameteri(backbuffer->texture_target, GL_TEXTURE_MIN_FILTER, GL_LINEAR); - glTexParameteri(backbuffer->texture_target, GL_TEXTURE_MAG_FILTER, GL_LINEAR); + glTexParameteri(backbuffer->texture_target, GL_TEXTURE_MIN_FILTER, gl_filter); + glTexParameteri(backbuffer->texture_target, GL_TEXTURE_MAG_FILTER, gl_filter); context_set_draw_buffer(context, GL_BACK); -- 2.11.4.GIT