wined3d: NP2 coordinate adjustment is a vertex operation.
authorStefan Dösinger <stefan@codeweavers.com>
Thu, 3 Jul 2008 18:26:06 +0000 (13:26 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 14 Jul 2008 09:43:30 +0000 (11:43 +0200)
commitd3c29b706394e13ed9949d814f92b747609686db
treeda69d4c67cc6992bd2e8cce93824c0a34e587dba
parente7733eacb78aeeed9a4937675e30c08ceebfaf47
wined3d: NP2 coordinate adjustment is a vertex operation.

When a sampler is changed and unconditional NP2 textures are not
supported, the texture matrix may need adjustment. The sampler state
function checks for that, and calls the texture transform setting
function in that case. However, samplers are a misc state, and the
texture transform flags a vertex state.  Thus split up the code and
move the matrix changes to the vertex side.
dlls/wined3d/state.c