Closed Beyley closed 2 years ago
I think the way it's being done is good, and generalizing the GL backends is also pretty necessary since there's a fuckton of Code Duplication thanks to us supporting 3 GL backends.
I think the way it's being done is good, and generalizing the GL backends is also pretty necessary since there's a fuckton of Code Duplication thanks to us supporting 3 GL backends.
we might be able to just completely ditch most of our GLES code and switch the quad renderer for 4.1 and ES to the same code, which would be nice
that would be possible yeah
Havent moved this out to another project (im very lazy rn and that can be done later)
Most of the OpenGL code now resides in the OpenGL folder, with a light abstraction layer providing a single API for talking with OpenGL, OpenGLES, and Legacy OpenGL using only modern OpenGL This also fixes a bug in the GL20 backend which would cause the first quad of multiple batches to be dropped