1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02: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
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