mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
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.
This commit is contained in:
parent
e4e2068ac9
commit
5491c8194c
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue