Bug 837687 - Use a case-insensitive comparison for OpenGL extension names r=jgilbert

--HG--
extra : rebase_source : 465e1c9ca5491a32432f4fb85eb96de473598348
This commit is contained in:
James Willcox 2013-02-05 11:45:31 -05:00
parent f48dd5d0a9
commit 3b3c4f2d6e

View File

@ -1379,7 +1379,7 @@ public:
}
for (int i = 0; extList[i]; ++i) {
if (strcmp(cur, extList[i]) == 0) {
if (strcasecmp(cur, extList[i]) == 0) {
if (verbose)
printf_stderr("Found extension %s\n", cur);
extensions[i] = 1;