Skip to content
Snippets Groups Projects
Commit 4d361ce0 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard
Browse files

winex11: glXQueryExtension has its error and event base arguments swapped

compared with other *QueryExtension functions!
parent 4964c1e9
No related branches found
No related tags found
No related merge requests found
...@@ -156,7 +156,7 @@ LOAD_FUNCPTR(glXDestroyGLXPixmap) ...@@ -156,7 +156,7 @@ LOAD_FUNCPTR(glXDestroyGLXPixmap)
#undef LOAD_FUNCPTR #undef LOAD_FUNCPTR
wine_tsx11_lock(); wine_tsx11_lock();
if (pglXQueryExtension(gdi_display, &event_base, &error_base) == True) { if (pglXQueryExtension(gdi_display, &error_base, &event_base) == True) {
TRACE("GLX is up and running error_base = %d\n", error_base); TRACE("GLX is up and running error_base = %d\n", error_base);
} else { } else {
wine_dlclose(opengl_handle, NULL, 0); wine_dlclose(opengl_handle, NULL, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment