Paul Gofman : opengl32/tests: Remove depth 32 / stencil 0 test in test_choosepixelformat().

Alexandre Julliard julliard at winehq.org
Fri Jul 29 15:02:43 CDT 2022


Module: wine
Branch: master
Commit: b46917a481209f529b8ba535b341429f2b4cb91c
URL:    https://gitlab.winehq.org/wine/wine/-/commit/b46917a481209f529b8ba535b341429f2b4cb91c

Author: Paul Gofman <pgofman at codeweavers.com>
Date:   Fri Jul 29 12:11:05 2022 -0500

opengl32/tests: Remove depth 32 / stencil 0 test in test_choosepixelformat().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53429

---

 dlls/opengl32/tests/opengl.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/dlls/opengl32/tests/opengl.c b/dlls/opengl32/tests/opengl.c
index 7d407a1d0b0..57be207b548 100644
--- a/dlls/opengl32/tests/opengl.c
+++ b/dlls/opengl32/tests/opengl.c
@@ -380,12 +380,6 @@ static void test_choosepixelformat(void)
     pfd.cDepthBits = 0;
     pfd.cStencilBits = 0;
 
-    pfd.cDepthBits = 32;
-    ok( test_pfd(&pfd, &ret_fmt), "depth 32, stencil 8 failed.\n" );
-    ok( ret_fmt.cDepthBits >= 24, "Got unexpected cDepthBits %u.\n", ret_fmt.cDepthBits );
-    ok( !ret_fmt.cStencilBits, "Got unexpected cStencilBits %u.\n", ret_fmt.cStencilBits );
-    pfd.cDepthBits = 0;
-
     pfd.cStencilBits = 8;
     ok( test_pfd(&pfd, &ret_fmt), "depth 32, stencil 8 failed.\n" );
     ok( ret_fmt.cStencilBits == 8, "Got unexpected cStencilBits %u.\n", ret_fmt.cStencilBits );




More information about the wine-cvs mailing list