wined3d: D3DTADDRESS_WRAP on conditional NP2 textures clamps to edge.
commit635daf8b5d15a6211360aef315b447ca5e610ec4
authorStefan Dösinger <stefan@codeweavers.com>
Fri, 1 Feb 2008 00:16:45 +0000 (1 01:16 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 5 Feb 2008 11:37:49 +0000 (5 12:37 +0100)
tree4f314e1f44a4e2c65f18c05f0d6da18f773cdbdb
parent08391b82c1b8a162c8e9c24a771a6a2e8a8ec3f6
wined3d: D3DTADDRESS_WRAP on conditional NP2 textures clamps to edge.

Conditional NP2 textures in Direct3D do not support D3DTADDRESS_WRAP
texture addressing. Similarly, GL_ARB_texture_rectangle textures do
not support GL_REPEAT. This patch adds a test which shows that _WRAP
clamps to the texture edge and implements that.
dlls/d3d9/tests/visual.c
dlls/wined3d/basetexture.c