From d89de9d6dd31e066e16f35a8a6e736e6b67b8a15 Mon Sep 17 00:00:00 2001 From: klemek Date: Sat, 16 May 2026 18:42:17 +0200 Subject: [PATCH] fix: check_eglerror_ro dead code --- src/shaders.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shaders.c b/src/shaders.c index 97f9db0..9036975 100644 --- a/src/shaders.c +++ b/src/shaders.c @@ -66,7 +66,7 @@ static bool check_eglerror_ro(const char *context) { code = eglGetError(); - if (code > 0 && code != EGL_SUCCESS) { + if (code != EGL_SUCCESS) { log_warn("EGL Error: %04x (%s)", code, context); return true; }