From 814880eda8aa66aa0608b66e68566a3240267717 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Wed, 25 Jun 2025 00:25:12 -0700 Subject: [PATCH] try 0 --- src/platforms/rcore_comma.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/platforms/rcore_comma.c b/src/platforms/rcore_comma.c index 4ccaa76cd..7e618d6e4 100644 --- a/src/platforms/rcore_comma.c +++ b/src/platforms/rcore_comma.c @@ -289,7 +289,9 @@ static int init_egl () { return -1; } - EGLBoolean ok = eglSwapInterval(platform.egl.display, FLAG_VSYNC_HINT ? 2 : 0); + // > 1 is not supported, and FLAG_VSYNC_HINT is always set for some reason +// EGLBoolean ok = eglSwapInterval(platform.egl.display, FLAG_VSYNC_HINT ? 1 : 0); + EGLBoolean ok = eglSwapInterval(platform.egl.display, 0); if (ok == EGL_FALSE) { TRACELOG(LOG_WARNING, "COMMA: eglSwapInterval failed. Error code: %s", eglGetErrorString(eglGetError())); return -1;