mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
opengl32: Remove some tests which cause issues on win9x.
This commit is contained in:
parent
23b1988f1a
commit
b09a9ebc76
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user