From 79c2bd51a03f4e7dff305a10ab0460aa2463dfc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Wed, 22 Aug 2012 18:45:25 +0000 Subject: [PATCH] [OPENGL32_WINETEST] - Fix crash with gallium3d ICD. Already sent to wine svn path=/trunk/; revision=57137 --- rostests/winetests/opengl32/opengl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rostests/winetests/opengl32/opengl.c b/rostests/winetests/opengl32/opengl.c index 2b81ddabdba..520816d6bac 100644 --- a/rostests/winetests/opengl32/opengl.c +++ b/rostests/winetests/opengl32/opengl.c @@ -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");