mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
[614/906] try GLX first when using ANY | OPENGL | OPENGL3
This commit is contained in:
parent
fc4619f8a9
commit
d378a9d1d9
1 changed files with 2 additions and 1 deletions
|
@ -229,7 +229,8 @@ gst_gl_window_x11_new (GstGLRendererAPI render_api,
|
|||
#ifdef HAVE_EGL
|
||||
/* try GLX first for Desktop OpenGL */
|
||||
if (render_api == GST_GL_RENDERER_API_OPENGL
|
||||
|| render_api == GST_GL_RENDERER_API_OPENGL3) {
|
||||
|| render_api == GST_GL_RENDERER_API_OPENGL3
|
||||
|| render_api == GST_GL_RENDERER_API_ANY) {
|
||||
if (!window && user_glx)
|
||||
window =
|
||||
GST_GL_WINDOW_X11 (gst_gl_window_x11_glx_new (render_api,
|
||||
|
|
Loading…
Reference in a new issue