mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-19 20:32:15 +02:00
libobs-opengl: Change log level for texture_from_pixmap
This function is expected to fail fairly often as it is the tool for checking if windows are mapped and have a valid pixmap in the linux capture plugin. So reduce this error to a debug message to avoid spamming release builds.
This commit is contained in:
parent
c6cb0838fd
commit
4163940137
@ -252,7 +252,7 @@ gl_egl_create_texture_from_pixmap(EGLDisplay egl_display, uint32_t width,
|
||||
EGL_NATIVE_PIXMAP_KHR, pixmap,
|
||||
pixmap_attrs);
|
||||
if (image == EGL_NO_IMAGE) {
|
||||
blog(LOG_ERROR, "Cannot create EGLImage: %s",
|
||||
blog(LOG_DEBUG, "Cannot create EGLImage: %s",
|
||||
gl_egl_error_to_string(eglGetError()));
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user