Module: wine Branch: master Commit: 3bc0a1099df23e7784e836cecf0b05ffea7772b3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3bc0a1099df23e7784e836cecf...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Apr 7 23:44:14 2010 +0200
winex11: Fix the calling convention of X11DRV_wglCreateContextAttribsARB.
---
dlls/winex11.drv/opengl.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index 859cf94..94fbb1e 100644 --- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -2235,7 +2235,7 @@ static void WINAPI X11DRV_wglFlush(void) * * WGL_ARB_create_context: wglCreateContextAttribsARB */ -HGLRC X11DRV_wglCreateContextAttribsARB(X11DRV_PDEVICE *physDev, HGLRC hShareContext, const int* attribList) +HGLRC CDECL X11DRV_wglCreateContextAttribsARB(X11DRV_PDEVICE *physDev, HGLRC hShareContext, const int* attribList) { Wine_GLContext *ret; WineGLPixelFormat *fmt; @@ -3865,7 +3865,7 @@ HGLRC CDECL X11DRV_wglCreateContext(X11DRV_PDEVICE *physDev) { * * WGL_ARB_create_context: wglCreateContextAttribsARB */ -HGLRC X11DRV_wglCreateContextAttribsARB(X11DRV_PDEVICE *physDev, HGLRC hShareContext, const int* attribList) +HGLRC CDECL X11DRV_wglCreateContextAttribsARB(X11DRV_PDEVICE *physDev, HGLRC hShareContext, const int* attribList) { opengl_error(); return NULL;