mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-07-01 14:15:16 +02:00
Revert OpenGL version check
This commit is contained in:
parent
d580c55685
commit
24d6199a79
1 changed files with 2 additions and 3 deletions
|
@ -97,10 +97,9 @@ void initGLFunctions()
|
|||
|
||||
/* Assume single digit */
|
||||
int glMajor = *ver - '0';
|
||||
int glMinor = ver[2] - '0';
|
||||
|
||||
if (glMajor < Z_GL_MAJOR || glMinor < Z_GL_MINOR)
|
||||
throw EXC("OpenGL (ES) version >= 2.1 required");
|
||||
if (glMajor < 2)
|
||||
throw EXC("OpenGL (ES) version >= 2 required");
|
||||
|
||||
if (gles)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue