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:
Ed Maste 2025-05-12 08:29:19 -04:00 committed by Ryan Foster
parent 4510b93bcb
commit 16cb051a57

View File

@ -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); EGLImage image = eglCreateImage(egl_display, EGL_NO_CONTEXT, EGL_NATIVE_PIXMAP_KHR, pixmap, pixmap_attrs);
if (image == EGL_NO_IMAGE) { 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; return NULL;
} }