summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/x11
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2007-04-20 18:51:20 +0300
committerGeorge Sapountzis <gsap7@yahoo.gr>2007-04-20 21:09:00 +0300
commit5491c8194c03761a1a45a17539db6bc241bacf9c (patch)
tree3afdfce4ceffa744fdc86ccad2f15c683c7d941a /src/mesa/drivers/x11
parente4e2068ac9d21ce50e863ccf3171462ab61c3ec8 (diff)
xmesa: call _glapi_set_dispatch() for all xserver DDXes.
This is to unify the xmesa code across xserver DDX'es. The call is intented for XGL, but it does not hurt to call for other DDX'es. In fact it was not guarded against XGL when it was first added in xserver.
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r--src/mesa/drivers/x11/xm_api.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c
index 212f7b576e..a07d0a90cf 100644
--- a/src/mesa/drivers/x11/xm_api.c
+++ b/src/mesa/drivers/x11/xm_api.c
@@ -1869,9 +1869,7 @@ PUBLIC
GLboolean XMesaForceCurrent(XMesaContext c)
{
if (c) {
-#ifdef XGLServer
_glapi_set_dispatch(c->mesa.CurrentDispatch);
-#endif
if (&(c->mesa) != _mesa_get_current_context()) {
_mesa_make_current(&c->mesa, c->mesa.DrawBuffer, c->mesa.ReadBuffer);