Matteo Bruni : d3d9/tests: Fix caps check in texdepth_test().
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jul 29 15:40:45 CDT 2015
Module: wine
Branch: master
Commit: 149b1549be7c70683ba76a71a1072801d4f40d0a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=149b1549be7c70683ba76a71a1072801d4f40d0a
Author: Matteo Bruni <mbruni at codeweavers.com>
Date: Tue Jul 28 23:14:35 2015 +0200
d3d9/tests: Fix caps check in texdepth_test().
---
dlls/d3d9/tests/visual.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index 67e0733..df29221 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -5331,9 +5331,9 @@ static void texdepth_test(void)
hr = IDirect3DDevice9_GetDeviceCaps(device, &caps);
ok(SUCCEEDED(hr), "Failed to get device caps, hr %#x.\n", hr);
- if (caps.PixelShaderVersion < D3DPS_VERSION(1, 1))
+ if (caps.PixelShaderVersion < D3DPS_VERSION(1, 4))
{
- skip("No ps_1_1 support, skipping tests.\n");
+ skip("No ps_1_4 support, skipping tests.\n");
IDirect3DDevice9_Release(device);
goto done;
}
More information about the wine-cvs
mailing list