summaryrefslogtreecommitdiff
path: root/glx/glxcmds.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-08-11 16:59:17 -0400
committerKristian Høgsberg <krh@redhat.com>2008-08-29 12:33:28 -0400
commit5af77d43fe812e127d5d335527fa940ab9d95f38 (patch)
tree88e6cf7deb768f1cccbf806c7313ce0d1ae469d2 /glx/glxcmds.c
parent60ad8d5d05485339e89d7f1f9f1ded75de7c7ea1 (diff)
DRI2: Drop sarea use, implement server side swap buffers.
Diffstat (limited to 'glx/glxcmds.c')
-rw-r--r--glx/glxcmds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/glx/glxcmds.c b/glx/glxcmds.c
index 0421026eb..00e5b2a09 100644
--- a/glx/glxcmds.c
+++ b/glx/glxcmds.c
@@ -435,6 +435,7 @@ static void StopUsingContext(__GLXcontext *glxc)
static void StartUsingContext(__GLXclientState *cl, __GLXcontext *glxc)
{
glxc->isCurrent = GL_TRUE;
+ __glXLastContext = glxc;
}
/**