wined3d: Handle per-texture max LOD level.
authorStefan Dösinger <stefan@codeweavers.com>
Sun, 30 Aug 2009 20:02:17 +0000 (22:02 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 31 Aug 2009 10:18:41 +0000 (12:18 +0200)
commitedf1c50b5419459f6fce604080328ca783b92ffb
tree768cfe6097fe84e6853a7d86d566ae2e64cccccb
parenteafc00e1731757010e8ec39a82093eddd34ed1fc
wined3d: Handle per-texture max LOD level.

GL_TEXTURE_BASE_LEVEL matches the basetexture::SetLOD functionality.
D3DSAMP_MAXMIPLEVEL essentially does the same as SetLOD. The test included in
this patch shows that the smallest mipmap level is used.
dlls/d3d9/tests/visual.c
dlls/wined3d/basetexture.c