This commit is contained in:
Shane Smiskol 2025-06-24 23:55:45 -07:00
parent b02128e803
commit 21cc7ae736

View File

@ -280,7 +280,8 @@ static int init_egl () {
EGLBoolean ok = eglSwapInterval(platform.egl.display, FLAG_VSYNC_HINT ? 1 : 0);
if (ok == EGL_FALSE) {
TRACELOG(LOG_WARNING, "COMMA: eglSwapInterval failed (vsync %s): 0x%04x", FLAG_VSYNC_HINT ? "ON" : "OFF", eglGetError());
TRACELOG(LOG_WARNING, "COMMA: eglSwapInterval failed. Error code: %s", eglGetErrorString(eglGetError()));
return -1;
}
platform.egl.context = eglCreateContext(platform.egl.display, config, EGL_NO_CONTEXT, context_config);