mirror of
https://github.com/yawut/SDL.git
synced 2026-10-02 05:06:46 -05:00
Debian patch: 310_segfault_noGLX.diff
--HG-- branch : SDL-1.2
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user