Commit 3bc0a109 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Fix the calling convention of X11DRV_wglCreateContextAttribsARB.

parent 87416f5a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment