Commit cb2bc415 authored by Sam Lantinga's avatar Sam Lantinga

Debian patch: 310_segfault_noGLX.diff

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404034
parent 17a7853a
...@@ -77,6 +77,11 @@ static int glXExtensionSupported(_THIS, const char *extension) ...@@ -77,6 +77,11 @@ static int glXExtensionSupported(_THIS, const char *extension)
/* It takes a bit of care to be fool-proof about parsing the /* It takes a bit of care to be fool-proof about parsing the
* OpenGL extensions string. Don't be fooled by sub-strings, etc. * OpenGL extensions string. Don't be fooled by sub-strings, etc.
*/ */
/* http://bugs.debian.org/537487 */
if (extensions == NULL) {
return 0;
}
start = extensions; start = extensions;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment