projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4e2068
)
xmesa: call _glapi_set_dispatch() for all xserver DDXes.
author
George Sapountzis
<gsap7@yahoo.gr>
Fri, 20 Apr 2007 15:51:20 +0000
(18:51 +0300)
committer
George Sapountzis
<gsap7@yahoo.gr>
Fri, 20 Apr 2007 18:09:00 +0000
(21:09 +0300)
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.
src/mesa/drivers/x11/xm_api.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/x11/xm_api.c
b/src/mesa/drivers/x11/xm_api.c
index 212f7b576e07e803c3bebeb1ad533d95c48e68ba..a07d0a90cf326a389384882f29f5040a0bc422f7 100644
(file)
--- 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);