[OPENGL32_WINETEST]

- Fix crash with gallium3d ICD.
Already sent to wine

svn path=/trunk/; revision=57137
This commit is contained in:
Jérôme Gardou 2012-08-22 18:45:25 +00:00
parent 590268d3d8
commit 79c2bd51a0

View file

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