Support GLES2

This commit is contained in:
numzero
2023-03-02 02:41:58 +03:00
parent 620f4869a1
commit d6716ec31b
2 changed files with 10 additions and 5 deletions

View File

@ -433,9 +433,6 @@ public:
else
{
#ifdef IRR_OPENGL_HAS_glGenerateMipmap
#if !defined(IRR_COMPILE_GLES2_COMMON)
glEnable(GL_TEXTURE_2D); // Hack some ATI cards need this glEnable according to https://www.khronos.org/opengl/wiki/Common_Mistakes
#endif
Driver->irrGlGenerateMipmap(TextureType);
#endif
}