fix: check_eglerror_ro dead code
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ static bool check_eglerror_ro(const char *context) {
|
|||||||
|
|
||||||
code = eglGetError();
|
code = eglGetError();
|
||||||
|
|
||||||
if (code > 0 && code != EGL_SUCCESS) {
|
if (code != EGL_SUCCESS) {
|
||||||
log_warn("EGL Error: %04x (%s)", code, context);
|
log_warn("EGL Error: %04x (%s)", code, context);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user