mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +00:00
Fixed sign mismatch.
This commit is contained in:
parent
b29c4bae53
commit
3d951c3f5b
@ -58,7 +58,7 @@ void _glfwParseGLVersion(int* major, int* minor, int* rev)
|
|||||||
if (!version)
|
if (!version)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (strncmp(version, glesPrefix, strlen(glesPrefix)) == 0)
|
if (strncmp((const char*) version, glesPrefix, strlen(glesPrefix)) == 0)
|
||||||
{
|
{
|
||||||
// The version string on OpenGL ES has a prefix before the version
|
// The version string on OpenGL ES has a prefix before the version
|
||||||
// number, so we skip past it and then continue as normal
|
// number, so we skip past it and then continue as normal
|
||||||
|
Loading…
Reference in New Issue
Block a user