opengl32/tests: Do not pass NULL attrib list to wglCreatePBufferARB.

This commit is contained in:
Jérôme Gardou 2012-08-22 10:18:14 +02:00 committed by Alexandre Julliard
parent c8055b5b7b
commit dbf1c83632
1 changed files with 2 additions and 1 deletions

View File

@ -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");