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
|
@ -78,6 +78,11 @@ static int glXExtensionSupported(_THIS, const char *extension)
|
||||||
* 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;
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue