XProger / OpenLara

Classic Tomb Raider open-source engine
http://xproger.info/projects/OpenLara/
BSD 2-Clause "Simplified" License
4.69k stars 359 forks source link

Properly fix SDL2 GLES2/GLES3/OPENGL building. #249

Closed vanfanel closed 4 years ago

vanfanel commented 4 years ago

@XProger I have created a proper PR for GLES2/GLES3/OPENGL building under SDL2. This time I am NOT removing glDiscardFramebuffer calls in GLES2, I have found out how to make it work even with MESA GLES2. I hope you can merge this one upstream, thanks! :)