Commit dbf1c836 authored by Jérôme Gardou's avatar Jérôme Gardou Committed by Alexandre Julliard

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

parent c8055b5b
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment