Skip to content
Permalink
Browse files

Debian patch: 310_segfault_noGLX.diff

  • Loading branch information
slouken committed Oct 10, 2009
1 parent a227cc8 commit 6913984f0e9f56c3b592d872bc61a47955d7be47
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/video/x11/SDL_x11gl.c
@@ -77,6 +77,11 @@ static int glXExtensionSupported(_THIS, const char *extension)
/* It takes a bit of care to be fool-proof about parsing the
* OpenGL extensions string. Don't be fooled by sub-strings, etc.
*/

/* http://bugs.debian.org/537487 */
if (extensions == NULL) {
return 0;
}

start = extensions;

0 comments on commit 6913984

Please sign in to comment.