1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +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

@ -296,8 +296,7 @@ public:
delete[] tmpBuffer;
}
#elif (defined(IRR_COMPILE_GLES2_COMMON) || defined(IRR_COMPILE_GLES_COMMON))
// TODO: on ES2 we can likely also work with glCopyTexImage2D instead of rendering which should be faster.
#elif defined(IRR_COMPILE_GLES2_COMMON)
COpenGLCoreTexture *tmpTexture = new COpenGLCoreTexture("OGL_CORE_LOCK_TEXTURE", Size, ETT_2D, ColorFormat, Driver);
GLuint tmpFBO = 0;