fix: remove bsd dependency and make no-video build
This commit is contained in:
+2
-1
@@ -48,6 +48,7 @@ bool check_glerror(ShaderProgram *program, const char *context) {
|
||||
}
|
||||
|
||||
bool check_eglerror_ro(const char *context) {
|
||||
#ifdef VIDEO_IN
|
||||
unsigned int code;
|
||||
|
||||
code = eglGetError();
|
||||
@@ -56,7 +57,7 @@ bool check_eglerror_ro(const char *context) {
|
||||
log_warn("EGL Error: %04x (%s)", code, context);
|
||||
return true;
|
||||
}
|
||||
|
||||
#endif /* VIDEO_IN */
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user