try 0
This commit is contained in:
parent
8957a19db8
commit
814880eda8
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user