???????????

This commit is contained in:
Shane Smiskol 2025-06-25 00:16:41 -07:00
parent 157abf22fb
commit 4f13b5ae73

View File

@ -289,7 +289,7 @@ static int init_egl () {
return -1;
}
EGLBoolean ok = eglSwapInterval(platform.egl.display, 2);
EGLBoolean ok = eglSwapInterval(platform.egl.display, FLAG_VSYNC_HINT ? 1 : 0);
if (ok == EGL_FALSE) {
TRACELOG(LOG_WARNING, "COMMA: eglSwapInterval failed. Error code: %s", eglGetErrorString(eglGetError()));
return -1;