Alexandre Julliard : opengl32/tests: Fix wglCreatePbufferARB prototype.

Alexandre Julliard julliard at winehq.org
Mon Oct 9 14:28:41 CDT 2017


Module: wine
Branch: master
Commit: fd7fbc922afa2d347628faeaa2f353eefc27f74c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fd7fbc922afa2d347628faeaa2f353eefc27f74c

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Oct  9 19:55:54 2017 +0200

opengl32/tests: Fix wglCreatePbufferARB prototype.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/opengl32/tests/opengl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/opengl32/tests/opengl.c b/dlls/opengl32/tests/opengl.c
index fd68a99..dc15147 100644
--- a/dlls/opengl32/tests/opengl.c
+++ b/dlls/opengl32/tests/opengl.c
@@ -24,7 +24,7 @@
 #include "wine/wgl.h"
 
 #define MAX_FORMATS 256
-typedef void* HPBUFFERARB;
+DECLARE_HANDLE(HPBUFFERARB);
 
 /* WGL_ARB_create_context */
 static HGLRC (WINAPI *pwglCreateContextAttribsARB)(HDC hDC, HGLRC hShareContext, const int *attribList);
@@ -64,7 +64,7 @@ static BOOL (WINAPI *pwglGetPixelFormatAttribivARB)(HDC, int, int, UINT, const i
 
 /* WGL_ARB_pbuffer */
 #define WGL_DRAW_TO_PBUFFER_ARB 0x202D
-static HPBUFFERARB* (WINAPI *pwglCreatePbufferARB)(HDC, int, int, int, const int *);
+static HPBUFFERARB (WINAPI *pwglCreatePbufferARB)(HDC, int, int, int, const int *);
 static HDC (WINAPI *pwglGetPbufferDCARB)(HPBUFFERARB);
 
 /* WGL_EXT_swap_control */




More information about the wine-cvs mailing list