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:
parent
1298d6c020
commit
bf4d31227b
19 changed files with 11 additions and 3453 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue