diff options
Diffstat (limited to 'source/Irrlicht/COpenGLCoreTexture.h')
-rw-r--r-- | source/Irrlicht/COpenGLCoreTexture.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/Irrlicht/COpenGLCoreTexture.h b/source/Irrlicht/COpenGLCoreTexture.h index c19215b..2ad8af1 100644 --- a/source/Irrlicht/COpenGLCoreTexture.h +++ b/source/Irrlicht/COpenGLCoreTexture.h @@ -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
}
|