ref: 2ee1bf131e6f6a38b2a828ac8518e8b8b8d98aac
dir: /src/Backends/Rendering/OpenGLES2.cpp/
// I would use -DUSE_OPENGLES2 when RENDERER=OpenGLES2 is passed instead, but CMake likes to rebuild the entire // project if I do that, and Make doesn't bother rebuilding anything at all. This method avoids both of those problems. #define USE_OPENGLES2 #include "OpenGL3.cpp"