Fix epoxy_internal_gl_version()

The glGetString() function takes a GLenum, so we should too.
macos/v1.5.9
Emmanuele Bassi 7 years ago
parent 309142f244
commit 60bb7672c1
  1. 2
      src/dispatch_common.c

@ -392,7 +392,7 @@ epoxy_is_desktop_gl(void)
}
static int
epoxy_internal_gl_version(const char *version_string, int error_version)
epoxy_internal_gl_version(GLenum version_string, int error_version)
{
const char *version = (const char *)glGetString(version_string);
GLint major, minor;

Loading…
Cancel
Save