Roderick Colenbrander : x11drv: Fix wgl pixel format bug.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Oct 4 04:25:11 CDT 2006
Module: wine
Branch: master
Commit: 9461c0c63471494ee6aa2b358db2956ba8ca08e1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9461c0c63471494ee6aa2b358db2956ba8ca08e1
Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date: Tue Oct 3 22:56:20 2006 +0200
x11drv: Fix wgl pixel format bug.
---
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 24b30cb..64b1166 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -1203,7 +1203,7 @@ HGLRC X11DRV_wglCreateContext(X11DRV_PDE
/* We can only render using the iPixelFormat (1) of Wine's Main visual, we need to get the correspondig GLX format.
* If this fails something is very wrong on the system. */
- if(!ConvertPixelFormatWGLtoGLX(gdi_display, hdcPF, &tmp, &fmt_index)) {
+ if(!ConvertPixelFormatWGLtoGLX(gdi_display, hdcPF, &fmt_index, &tmp)) {
ERR("Cannot get FB Config for main iPixelFormat 1, expect problems!\n");
SetLastError(ERROR_INVALID_PIXEL_FORMAT);
return NULL;
More information about the wine-cvs
mailing list