mirror of https://github.com/xemu-project/xemu.git
glo_check_extension would always return true
This commit is contained in:
parent
4b5ff257f3
commit
6cfc0f518e
|
@ -84,7 +84,7 @@ bool glo_check_extension(const char* ext_name)
|
|||
for (i=0; i<num_extensions; i++) {
|
||||
const char* ext = (const char*)glGetStringi(GL_EXTENSIONS, i);
|
||||
if (!ext) break;
|
||||
if (strcmp(ext, ext_name)) return true;
|
||||
if (strcmp(ext, ext_name) == 0) return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue