opengl32/tests: Do not pass NULL attrib list to wglCreatePBufferARB.
This commit is contained in:
parent
c8055b5b7b
commit
dbf1c83632
|
@ -197,7 +197,8 @@ static void test_pbuffers(HDC hdc)
|
|||
if(iPixelFormat != 0)
|
||||
{
|
||||
HDC pbuffer_hdc;
|
||||
HPBUFFERARB pbuffer = pwglCreatePbufferARB(hdc, iPixelFormat, 640 /* width */, 480 /* height */, NULL);
|
||||
int attrib = 0;
|
||||
HPBUFFERARB pbuffer = pwglCreatePbufferARB(hdc, iPixelFormat, 640 /* width */, 480 /* height */, &attrib);
|
||||
if(!pbuffer)
|
||||
skip("Pbuffer creation failed!\n");
|
||||
|
||||
|
|
Loading…
Reference in New Issue