Henri Verbeet : wined3d: Use "gl_filter" in the non-FBO path of swapchain_blit() as well.
Alexandre Julliard
julliard at winehq.org
Wed Mar 17 12:19:04 CDT 2010
Module: wine
Branch: master
Commit: c48adfe20177fc0745d2df6307d7ea010772bc92
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c48adfe20177fc0745d2df6307d7ea010772bc92
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Tue Mar 16 19:02:13 2010 +0100
wined3d: Use "gl_filter" in the non-FBO path of swapchain_blit() as well.
---
dlls/wined3d/swapchain.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c
index 79c2bd8..c99b1c9 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);
More information about the wine-cvs
mailing list