aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/glxcmds.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-01-17 11:45:05 +0000
committermarha <marha@users.sourceforge.net>2011-01-17 11:45:05 +0000
commit508dc9ebf90c336c43608a7b8e94d0d2bdf6c1aa (patch)
tree7f99f9df965eab67cdbb5ff4d33624bf50221033 /xorg-server/glx/glxcmds.c
parent260ff71e2ae7eac8d6856523bf4d92ac8e2c507f (diff)
downloadvcxsrv-508dc9ebf90c336c43608a7b8e94d0d2bdf6c1aa.tar.gz
vcxsrv-508dc9ebf90c336c43608a7b8e94d0d2bdf6c1aa.tar.bz2
vcxsrv-508dc9ebf90c336c43608a7b8e94d0d2bdf6c1aa.zip
Previous fix in glxext.c was to drastically. It could cause crashes.
Diffstat (limited to 'xorg-server/glx/glxcmds.c')
-rw-r--r--xorg-server/glx/glxcmds.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/xorg-server/glx/glxcmds.c b/xorg-server/glx/glxcmds.c
index 4a9f61d35..a685c8c7a 100644
--- a/xorg-server/glx/glxcmds.c
+++ b/xorg-server/glx/glxcmds.c
@@ -217,6 +217,12 @@ static struct glx_context *__glXdirectContextCreate(__GLXscreen *screen,
return context;
}
+void FlushContext(struct glx_context *cx)
+{
+ CALL_Flush( GET_DISPATCH(), () );
+ __GLX_NOTE_FLUSHED_CMDS(cx);
+}
+
/**
* Create a GL context with the given properties. This routine is used
* to implement \c glXCreateContext, \c glXCreateNewContext, and