Skip to content

Commit

Permalink
Debian patch: 310_segfault_noGLX.diff
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 10, 2009
1 parent a227cc8 commit 6913984
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/video/x11/SDL_x11gl.c
Expand Up @@ -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;

Expand Down

0 comments on commit 6913984

Please sign in to comment.