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.
This commit is contained in:
Henri Verbeet 2009-08-06 08:12:18 +02:00 committed by Alexandre Julliard
parent 625d1e75cd
commit b04e992a65

View File

@ -171,7 +171,7 @@ DWORD *stateLookup[MAX_LOOKUPS];
const struct min_lookup minMipLookup[] = const struct min_lookup minMipLookup[] =
{ {
/* NONE POINT LINEAR */ /* 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_NEAREST, GL_NEAREST_MIPMAP_NEAREST, GL_NEAREST_MIPMAP_LINEAR}}, /* POINT*/
{{GL_LINEAR, GL_LINEAR_MIPMAP_NEAREST, GL_LINEAR_MIPMAP_LINEAR}}, /* LINEAR */ {{GL_LINEAR, GL_LINEAR_MIPMAP_NEAREST, GL_LINEAR_MIPMAP_LINEAR}}, /* LINEAR */
}; };