aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2014-04-23 23:23:44 +0200
committermarha <marha@users.sourceforge.net>2014-04-23 23:23:44 +0200
commit26287ff521b55de188c7b41eee4bff389844c6c3 (patch)
tree545263de6a5c314743d0b818bf6a942bae9909e3 /xorg-server/hw
parent24fb0da18f1c44dfa1f76d8cde8efbb958aa7659 (diff)
downloadvcxsrv-26287ff521b55de188c7b41eee4bff389844c6c3.tar.gz
vcxsrv-26287ff521b55de188c7b41eee4bff389844c6c3.tar.bz2
vcxsrv-26287ff521b55de188c7b41eee4bff389844c6c3.zip
Solved compile problems due to latest merge
Diffstat (limited to 'xorg-server/hw')
-rw-r--r--xorg-server/hw/xwin/glx/indirect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xorg-server/hw/xwin/glx/indirect.c b/xorg-server/hw/xwin/glx/indirect.c
index 908786b73..f4a9250c4 100644
--- a/xorg-server/hw/xwin/glx/indirect.c
+++ b/xorg-server/hw/xwin/glx/indirect.c
@@ -1047,14 +1047,14 @@ glxWinDrawableDestroy(__GLXdrawable * base)
__GLXWinDrawable *glxPriv = (__GLXWinDrawable *) base;
if (glxPriv->drawContext &&
- (__glXLastContext == &((glxPriv->drawContext)->base))) {
+ (lastGLContext == &((glxPriv->drawContext)->base))) {
// if this context is current and has unflushed commands, say we have flushed them
// (don't actually flush them, the window is going away anyhow, and an implict flush occurs
// on the next context change)
// (GLX core considers it an error when we try to select a new current context if the old one
// has unflushed commands, but the window has disappeared..)
- __glXLastContext->hasUnflushedCommands = FALSE;
- __glXLastContext = NULL;
+ ((__GLXcontext *)lastGLContext)->hasUnflushedCommands = FALSE;
+ lastGLContext = NULL;
}
if (glxPriv->hPbuffer)