diff options
author | Dodji Seketeli <dodji@openedhand.com> | 2007-09-18 18:22:44 +0200 |
---|---|---|
committer | Dodji Seketeli <dodji@openedhand.com> | 2007-10-02 16:55:17 +0200 |
commit | 6307ee77091041af2d34e93bc164352d4438a808 (patch) | |
tree | 8555c6f88fb39c3842dabd81c8c1fc71eeb5b31a /os/utils.c | |
parent | ffe9ce6a843443606ad9367eca1645bf5e0635e5 (diff) |
GLX: allow skipping of visual init wrapping
* GL/glx/glxvisuals.c: added boolean to disable
calling init_visuals(). This gives a chance to Xephyr
to take over visuals manipulation and avoid a crash at
server shutdown in __glXMesaScreenDestroy(), due to the fact
that mesa might sees more visual than what it has actually created in
init_visuals(). It might see more visuals because Xephyr can augment
the number of visuals, dynamically.
* os/utils.c: the boolean is actually defined here.
Diffstat (limited to 'os/utils.c')
-rw-r--r-- | os/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/os/utils.c b/os/utils.c index 36c8dfeb3..31cb0af92 100644 --- a/os/utils.c +++ b/os/utils.c @@ -160,6 +160,7 @@ _X_EXPORT Bool noFontCacheExtension = FALSE; #endif #ifdef GLXEXT _X_EXPORT Bool noGlxExtension = FALSE; +_X_EXPORT Bool noGlxVisualInit = FALSE; #endif #ifdef SCREENSAVER _X_EXPORT Bool noScreenSaverExtension = FALSE; |