mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +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()
|
void OGLRender::_initExtensions()
|
||||||
{
|
{
|
||||||
|
#ifndef GLES2
|
||||||
GLint majorVersion = 0;
|
GLint majorVersion = 0;
|
||||||
glGetIntegerv(GL_MAJOR_VERSION, &majorVersion);
|
glGetIntegerv(GL_MAJOR_VERSION, &majorVersion);
|
||||||
assert(majorVersion >= 3 && "Plugin requires GL version 3 or higher.");
|
assert(majorVersion >= 3 && "Plugin requires GL version 3 or higher.");
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef GL_IMAGE_TEXTURES_SUPPORT
|
#ifdef GL_IMAGE_TEXTURES_SUPPORT
|
||||||
GLint minorVersion = 0;
|
GLint minorVersion = 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user