=?UTF-8?Q?J=C3=A9r=C3=B4me=20Gardou=20?=: opengl32/tests: Do not pass NULL attrib list to wglCreatePBufferARB.
Alexandre Julliard
julliard at winehq.org
Thu Aug 23 15:19:19 CDT 2012
Module: wine
Branch: master
Commit: dbf1c836323fda85888e1bd0280e2bd29c68b986
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dbf1c836323fda85888e1bd0280e2bd29c68b986
Author: Jérôme Gardou <jerome.gardou at reactos.org>
Date: Wed Aug 22 10:18:14 2012 +0200
opengl32/tests: Do not pass NULL attrib list to wglCreatePBufferARB.
---
dlls/opengl32/tests/opengl.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/opengl32/tests/opengl.c b/dlls/opengl32/tests/opengl.c
index 8e3d729..4f799d2 100644
--- a/dlls/opengl32/tests/opengl.c
+++ b/dlls/opengl32/tests/opengl.c
@@ -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");
More information about the wine-cvs
mailing list