wined3d: don't set cube and volume POW2 caps if np2 textures are supported

Henri Verbeet hverbeet at
Tue Nov 23 09:52:09 CST 2010

On 23 November 2010 16:23, Alexandre Julliard <julliard at> wrote:
> It doesn't work here:
> ../../../tools/runtest -q -P wine -M d3dx9_36.dll -T ../../.. -p texture.c && touch texture.ok
> texture.c:236: Test failed: Returned mipmaps 9, expected 10
> texture.c:242: Test failed: Returned mipmaps 6, expected 7
> texture.c:381: Test failed: Returned mipmaps 9, expected 10
> make: *** [texture.ok] Error 3
Looks like a flaw in the d3dx9_36 test, it isn't taking the POW2 cap
into account. I would have expected that to fail the other way around
though, cards that can't do npot textures should be pretty rare.

More information about the wine-devel mailing list