From: Connor McAdams cmcadams@codeweavers.com
Signed-off-by: Connor McAdams cmcadams@codeweavers.com --- dlls/d3dx9_36/tests/texture.c | 2 +- dlls/d3dx9_36/texture.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/d3dx9_36/tests/texture.c b/dlls/d3dx9_36/tests/texture.c index b6a9f0734f9..bfa92e7c2c7 100644 --- a/dlls/d3dx9_36/tests/texture.c +++ b/dlls/d3dx9_36/tests/texture.c @@ -633,7 +633,7 @@ static void test_D3DXCheckTextureRequirements(IDirect3DDevice9 *device) expected = D3DFMT_X8L8V8U8; hr = D3DXCheckTextureRequirements(device, NULL, NULL, NULL, 0, &format, D3DPOOL_DEFAULT); ok(hr == D3D_OK, "Unexpected hr %#lx.\n", hr); - todo_wine ok(format == expected, "Unexpected format %u.\n", format); + ok(format == expected, "Unexpected format %u.\n", format);
IDirect3D9_Release(d3d); } diff --git a/dlls/d3dx9_36/texture.c b/dlls/d3dx9_36/texture.c index 02bfbca2cc6..2896bd1f2b6 100644 --- a/dlls/d3dx9_36/texture.c +++ b/dlls/d3dx9_36/texture.c @@ -186,6 +186,7 @@ static D3DFORMAT get_replacement_format(D3DFORMAT format) {D3DFMT_DXT3, D3DFMT_A8R8G8B8}, {D3DFMT_DXT4, D3DFMT_A8R8G8B8}, {D3DFMT_DXT5, D3DFMT_A8R8G8B8}, + {D3DFMT_CxV8U8, D3DFMT_X8L8V8U8}, }; unsigned int i;