Commit b04e992a authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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.
parent 625d1e75
......@@ -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 */
};
......
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