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;
|
BOOL ret;
|
||||||
HGLRC hglrc;
|
HGLRC hglrc;
|
||||||
HDC hdc;
|
|
||||||
|
|
||||||
hdc = GetDC(0);
|
|
||||||
ok( hdc != 0, "GetDC(0) failed\n" );
|
|
||||||
|
|
||||||
hglrc = wglCreateContext(winhdc);
|
hglrc = wglCreateContext(winhdc);
|
||||||
ok( hglrc != 0, "wglCreateContext failed\n" );
|
ok( hglrc != 0, "wglCreateContext failed\n" );
|
||||||
|
@ -286,15 +282,6 @@ static void test_makecurrent(HDC winhdc)
|
||||||
ok( ret, "wglMakeCurrent failed\n" );
|
ok( ret, "wglMakeCurrent failed\n" );
|
||||||
|
|
||||||
ok( wglGetCurrentContext() == hglrc, "wrong context\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)
|
static void test_colorbits(HDC hdc)
|
||||||
|
|
Loading…
Reference in New Issue