winex11: Fix the calling convention of X11DRV_wglCreateContextAttribsARB.

This commit is contained in:
Alexandre Julliard 2010-04-07 23:44:14 +02:00
parent 87416f5a3b
commit 3bc0a1099d
1 changed files with 2 additions and 2 deletions

View File

@ -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;