gzdoom-gles/src/gl/system/gl_threads.cpp