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
This commit is contained in:
parent
17a7853ac1
commit
cb2bc4152c
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue