Module: wine Branch: master Commit: fd7fbc922afa2d347628faeaa2f353eefc27f74c URL: http://source.winehq.org/git/wine.git/?a=commit;h=fd7fbc922afa2d347628faeaa2...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Oct 9 19:55:54 2017 +0200
opengl32/tests: Fix wglCreatePbufferARB prototype.
Signed-off-by: Alexandre Julliard julliard@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 */