Author: jgardou Date: Wed Aug 22 18:45:25 2012 New Revision: 57137
URL: http://svn.reactos.org/svn/reactos?rev=57137&view=rev Log: [OPENGL32_WINETEST] - Fix crash with gallium3d ICD. Already sent to wine
Modified: trunk/rostests/winetests/opengl32/opengl.c
Modified: trunk/rostests/winetests/opengl32/opengl.c URL: http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/opengl32/opengl.... ============================================================================== --- trunk/rostests/winetests/opengl32/opengl.c [iso-8859-1] (original) +++ trunk/rostests/winetests/opengl32/opengl.c [iso-8859-1] Wed Aug 22 18:45:25 2012 @@ -159,7 +159,8 @@ 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");