Revert OpenGL version check

This commit is contained in:
Struma 2020-02-25 01:06:29 -05:00 committed by Roza
parent d580c55685
commit 24d6199a79

View file

@ -97,10 +97,9 @@ void initGLFunctions()
/* Assume single digit */ /* Assume single digit */
int glMajor = *ver - '0'; int glMajor = *ver - '0';
int glMinor = ver[2] - '0';
if (glMajor < Z_GL_MAJOR || glMinor < Z_GL_MINOR) if (glMajor < 2)
throw EXC("OpenGL (ES) version >= 2.1 required"); throw EXC("OpenGL (ES) version >= 2 required");
if (gles) if (gles)
{ {