Fix a compiler warning in the previous commit.

macos/v1.5.9
Eric Anholt 11 years ago
parent 8bb5a2545e
commit 1cb041fbaa
  1. 2
      src/dispatch_common.c

@ -279,7 +279,7 @@ epoxy_has_gl_extension(const char *ext)
glGetIntegerv(GL_NUM_EXTENSIONS, &num_extensions);
for (int i = 0; i < num_extensions; i++) {
char *gl_ext = (char *)glGetStringi(GL_EXTENSIONS, i);
const char *gl_ext = (const char *)glGetStringi(GL_EXTENSIONS, i);
if (strcmp(ext, gl_ext) == 0)
return true;
}

Loading…
Cancel
Save