Ulrich Czekalla : opengl: Use get_glxdrawable to grab the drawable.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Jun 15 07:23:05 CDT 2007
Module: wine
Branch: master
Commit: 191a29c1e71a26f9661c1f5c9a6d1c173efab1bf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=191a29c1e71a26f9661c1f5c9a6d1c173efab1bf
Author: Ulrich Czekalla <ulrich.czekalla at utoronto.ca>
Date: Thu Jun 14 11:02:50 2007 -0400
opengl: Use get_glxdrawable to grab the drawable.
---
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 0e2f9ee..98405c1 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -1505,7 +1505,7 @@ BOOL X11DRV_wglMakeCurrent(X11DRV_PDEVICE *physDev, HGLRC hglrc) {
NtCurrentTeb()->glContext = NULL;
} else {
Wine_GLContext *ctx = (Wine_GLContext *) hglrc;
- Drawable drawable = physDev->drawable;
+ Drawable drawable = get_glxdrawable(physDev);
if (ctx->ctx == NULL) {
/* The describe lines below are for debugging purposes only */
if (TRACE_ON(wgl)) {
More information about the wine-cvs
mailing list