Henri Verbeet : wined3d: Set the WINED3DTEXF_NONE entry in the minification lookup table to GL_NEAREST .
Alexandre Julliard
julliard at winehq.org
Thu Aug 6 10:49:22 CDT 2009
Module: wine
Branch: master
Commit: b04e992a6551823e590a1f896a898962d920aac9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b04e992a6551823e590a1f896a898962d920aac9
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Thu Aug 6 08:12:18 2009 +0200
wined3d: Set the WINED3DTEXF_NONE entry in the minification lookup table to GL_NEAREST.
Although WINED3DTEXF_NONE is not a valid minification filter, having it in the
tables simplifies the lookup. GL_NEAREST is more appropriate than GL_LINEAR
though.
---
dlls/wined3d/directx.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 7be5f44..de37df1 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -171,7 +171,7 @@ DWORD *stateLookup[MAX_LOOKUPS];
const struct min_lookup minMipLookup[] =
{
/* NONE POINT LINEAR */
- {{GL_LINEAR, GL_LINEAR, GL_LINEAR}}, /* NONE */
+ {{GL_NEAREST, GL_NEAREST, GL_NEAREST}}, /* NONE */
{{GL_NEAREST, GL_NEAREST_MIPMAP_NEAREST, GL_NEAREST_MIPMAP_LINEAR}}, /* POINT*/
{{GL_LINEAR, GL_LINEAR_MIPMAP_NEAREST, GL_LINEAR_MIPMAP_LINEAR}}, /* LINEAR */
};
More information about the wine-cvs
mailing list