ddraw: Some caps fixes.
commitd9fef10b71b9add27cfaeffa6d7e3ab42342bba7
authorStefan Dösinger <stefan@codeweavers.com>
Wed, 9 May 2007 09:49:27 +0000 (9 11:49 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 10 May 2007 09:40:01 +0000 (10 11:40 +0200)
tree4d91a0d655d111a6085c25b2ba4fb437bf32dcc8
parentfe3869388ab2e7dadd091ccc7878ba9bafb5dc3e
ddraw: Some caps fixes.

Cards at DirectX7 times did not support non power of 2 textures, and
some games check the capatiblity flags incorrectly. Rollcage expects the
D3DPTEXTURECAPS_POW2 (limitation) flag set and fails with the reference
rasterizer which support NP2 textures and doesn't have the cap set.
dlls/ddraw/direct3d.c
dlls/ddraw/tests/d3d.c