mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
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:
parent
625d1e75cd
commit
b04e992a65
@ -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 */
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user