ptitSeb / gl4es

GL4ES is a OpenGL 2.1/1.5 to GL ES 2.0/1.1 translation library, with support for Pandora, ODroid, OrangePI, CHIP, Raspberry PI, Android, Emscripten and AmigaOS4.
http://ptitseb.github.io/gl4es/
MIT License
667 stars 151 forks source link

Fix significant performance hit on stubbed functions #417

Closed pbdot closed 1 year ago

pbdot commented 1 year ago

Stubbed functions were querying an environment variable per call, which could greatly reduce framerate. I think globals4es.silentstub is the right state to be checking instead.

ptitSeb commented 1 year ago

good catch