Skip to content

Commit 16cb051

Browse files
emasteRytoEX
authored andcommitted
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.
1 parent 4510b93 commit 16cb051

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libobs-opengl/gl-egl-common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ struct gs_texture *gl_egl_create_texture_from_pixmap(EGLDisplay egl_display, uin
281281

282282
EGLImage image = eglCreateImage(egl_display, EGL_NO_CONTEXT, EGL_NATIVE_PIXMAP_KHR, pixmap, pixmap_attrs);
283283
if (image == EGL_NO_IMAGE) {
284-
blog(LOG_DEBUG, "Cannot create EGLImage: %s", gl_egl_error_to_string(eglGetError()));
284+
blog(LOG_ERROR, "Cannot create EGLImage: %s", gl_egl_error_to_string(eglGetError()));
285285
return NULL;
286286
}
287287

0 commit comments

Comments
 (0)