From 3bc0a1099df23e7784e836cecf0b05ffea7772b3 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 7 Apr 2010 23:44:14 +0200 Subject: [PATCH] winex11: Fix the calling convention of X11DRV_wglCreateContextAttribsARB. --- dlls/winex11.drv/opengl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index 859cf94c2f9..94fbb1e7952 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;