wined3d: Use the nofilter mipmap lookup for np2 textures.
commitcafec08516097f6058d0ce33079abb96d92628e6
authorStefan Dösinger <stefan@codeweavers.com>
Tue, 8 Jul 2008 21:55:33 +0000 (8 16:55 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 18 Jul 2008 09:41:21 +0000 (18 11:41 +0200)
tree749ec259308e5653e62955a39376177a1a058226
parentc088edeae7fed4645fa3f34fb5bacc1eeaa87706
wined3d: Use the nofilter mipmap lookup for np2 textures.

This is cleaner than the if statements in the code. Also np2 textures
should in theory support linear filtering, but fglrx doesn't seem to
like it. This needs further investigation. So far we've never used
linear filtering on np2 textures, so there should not be a
regression. Furthermore I think shader support is more important than
filtering, since NP2 textures are mostly used for 1:1 copying to the
screen.
dlls/wined3d/basetexture.c
dlls/wined3d/device.c