mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
GLES2: fix OGLRender::_initExtensions()
This commit is contained in:
parent
b88f801a62
commit
b14086911c
|
@ -1153,9 +1153,11 @@ void OGLRender::clearColorBuffer(float *_pColor )
|
|||
|
||||
void OGLRender::_initExtensions()
|
||||
{
|
||||
#ifndef GLES2
|
||||
GLint majorVersion = 0;
|
||||
glGetIntegerv(GL_MAJOR_VERSION, &majorVersion);
|
||||
assert(majorVersion >= 3 && "Plugin requires GL version 3 or higher.");
|
||||
#endif
|
||||
|
||||
#ifdef GL_IMAGE_TEXTURES_SUPPORT
|
||||
GLint minorVersion = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user