Roderick Colenbrander : opengl32: Remove some tests which cause issues on win9x.
Alexandre Julliard
julliard at winehq.org
Tue Sep 30 11:16:30 CDT 2008
Module: wine
Branch: master
Commit: b09a9ebc764ad3752c4a38ac1a4a1b15bbd5c0c4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b09a9ebc764ad3752c4a38ac1a4a1b15bbd5c0c4
Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date: Sun Sep 28 18:10:09 2008 +0200
opengl32: Remove some tests which cause issues on win9x.
---
dlls/opengl32/tests/opengl.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/dlls/opengl32/tests/opengl.c b/dlls/opengl32/tests/opengl.c
index 808b6c7..65c47c6 100644
--- a/dlls/opengl32/tests/opengl.c
+++ b/dlls/opengl32/tests/opengl.c
@@ -274,10 +274,6 @@ static void test_makecurrent(HDC winhdc)
{
BOOL ret;
HGLRC hglrc;
- HDC hdc;
-
- hdc = GetDC(0);
- ok( hdc != 0, "GetDC(0) failed\n" );
hglrc = wglCreateContext(winhdc);
ok( hglrc != 0, "wglCreateContext failed\n" );
@@ -286,15 +282,6 @@ static void test_makecurrent(HDC winhdc)
ok( ret, "wglMakeCurrent failed\n" );
ok( wglGetCurrentContext() == hglrc, "wrong context\n" );
-
- SetLastError( 0xdeadbeef );
- ret = wglMakeCurrent( hdc, hglrc );
- ok( !ret, "wglMakeCurrent succeeded\n" );
- ok( GetLastError() == ERROR_INVALID_PIXEL_FORMAT, "last error %u\n", GetLastError() );
-
- ok( wglGetCurrentContext() == hglrc, "wrong context\n" );
-
- ReleaseDC( 0, hdc );
}
static void test_colorbits(HDC hdc)
More information about the wine-cvs
mailing list