From a368ab757edf36ed7bbda023673d28883ce11231 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 22 Apr 2008 15:13:57 +1000 Subject: 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. --- GL/glx/glxglcore.c | 1 + 1 file changed, 1 insertion(+) (limited to 'GL') 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; -- cgit v1.2.3