Huw Davies : winex11:
glXQueryExtension has its error and event base arguments swapped
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Jun 23 06:43:14 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 4d361ce002e6563915388397b4d5241bf9e438ab
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=4d361ce002e6563915388397b4d5241bf9e438ab
Author: Huw Davies <huw at codeweavers.com>
Date: Thu Jun 22 12:44:43 2006 +0100
winex11: glXQueryExtension has its error and event base arguments swapped
compared with other *QueryExtension functions!
---
dlls/winex11.drv/opengl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index bfd023e..60ebcce 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -156,7 +156,7 @@ LOAD_FUNCPTR(glXDestroyGLXPixmap)
#undef LOAD_FUNCPTR
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);
} else {
wine_dlclose(opengl_handle, NULL, 0);
More information about the wine-cvs
mailing list