Merge pull request #264 from ilwar2/master
opengl crash on video playback fixed
This commit is contained in:
commit
607fe40ef1
1 changed files with 4 additions and 0 deletions
|
@ -197,6 +197,10 @@ static bool IsExtensionSupported(const char *extension)
|
|||
len = strlen(extension);
|
||||
start = extensions;
|
||||
while (true) {
|
||||
if (!start)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
ptr = (GLubyte *)strstr((const char *)start, extension);
|
||||
if (!ptr) {
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue