diff options
author | Dave Airlie <airlied@linux.ie> | 2008-04-22 15:13:57 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-04-22 15:13:57 +1000 |
commit | a368ab757edf36ed7bbda023673d28883ce11231 (patch) | |
tree | f3b881180a864b74523f5d7e5e2e2687b5d477ca /GL | |
parent | 449723510a1f9d024e23d9eb33795cac27f9443e (diff) |
GLcore: make googleearth not crash the server on sw-rendering.
I don't think this is the 100% correct answer as I get log spam saying
(EE) DoSwapInterval: cx = 0x98b8998, GLX screen = 0x96dd780
(EE) AIGLX: cx->pGlxScreen->swapInterval == NULL
but thats better than X exiting in my book.
Diffstat (limited to 'GL')
-rw-r--r-- | GL/glx/glxglcore.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/GL/glx/glxglcore.c b/GL/glx/glxglcore.c index 1eac0eb3e..c8a2514d2 100644 --- a/GL/glx/glxglcore.c +++ b/GL/glx/glxglcore.c @@ -432,6 +432,7 @@ __glXMesaScreenProbe(ScreenPtr pScreen) screen->base.destroy = __glXMesaScreenDestroy; screen->base.createContext = __glXMesaScreenCreateContext; screen->base.createDrawable = __glXMesaScreenCreateDrawable; + screen->base.swapInterval = NULL; screen->base.pScreen = pScreen; return &screen->base; |