libobs-opengl: Promote eglCreateImage failure to LOG_ERROR
Xcomposite window capture is currently failing on FreeBSD, in gl_egl_create_texture_from_pixmap (for currently unknown reasons). Increase the log level of the existing log for eglCreateImage failure from LOG_INFO to LOG_ERROR to provide a hint for anyone who encounters the same issue in the future.
This commit is contained in:
parent
4510b93bcb
commit
16cb051a57
@ -281,7 +281,7 @@ struct gs_texture *gl_egl_create_texture_from_pixmap(EGLDisplay egl_display, uin
|
||||
|
||||
EGLImage image = eglCreateImage(egl_display, EGL_NO_CONTEXT, EGL_NATIVE_PIXMAP_KHR, pixmap, pixmap_attrs);
|
||||
if (image == EGL_NO_IMAGE) {
|
||||
blog(LOG_DEBUG, "Cannot create EGLImage: %s", gl_egl_error_to_string(eglGetError()));
|
||||
blog(LOG_ERROR, "Cannot create EGLImage: %s", gl_egl_error_to_string(eglGetError()));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user