1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

Delete OpenGL ES 1.0 driver (#15067)

This commit is contained in:
sfan5 2024-08-28 20:44:42 +02:00 committed by GitHub
parent 1298d6c020
commit bf4d31227b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 11 additions and 3453 deletions

View file

@ -84,12 +84,12 @@ class COpenGLCoreCacheHandler
if (curTextureType != prevTextureType) {
GL.BindTexture(prevTextureType, 0);
#if (defined(IRR_COMPILE_GL_COMMON) || defined(IRR_COMPILE_GLES_COMMON))
#if defined(IRR_COMPILE_GL_COMMON)
GL.Disable(prevTextureType);
GL.Enable(curTextureType);
#endif
}
#if (defined(IRR_COMPILE_GL_COMMON) || defined(IRR_COMPILE_GLES_COMMON))
#if defined(IRR_COMPILE_GL_COMMON)
else if (!prevTexture)
GL.Enable(curTextureType);
#endif
@ -109,7 +109,7 @@ class COpenGLCoreCacheHandler
GL.BindTexture(prevTextureType, 0);
#if (defined(IRR_COMPILE_GL_COMMON) || defined(IRR_COMPILE_GLES_COMMON))
#if defined(IRR_COMPILE_GL_COMMON)
GL.Disable(prevTextureType);
#endif
}
@ -222,7 +222,7 @@ public:
Driver->irrGlActiveTexture(ActiveTexture);
#if (defined(IRR_COMPILE_GL_COMMON) || defined(IRR_COMPILE_GLES_COMMON))
#if defined(IRR_COMPILE_GL_COMMON)
GL.Disable(GL_TEXTURE_2D);
#endif