glcontext/glx: try creating a context with the highest version
authorMatthew Waters <matthew@centricular.com>
Fri, 17 Jul 2015 03:48:00 +0000 (13:48 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:05 +0000 (19:32 +0000)
commit3343e2dccd930e7fd5bf6a5a6c74a0f222f21ea4
treea1616f199b16ea5488df6a229c5d5195ba38b511
parent78957c45c24ac90cb07a60234eb871e1b33f28f8
glcontext/glx: try creating a context with the highest version

nvidia drivers return the exact version in glGstString (GL_VERSION)
we request on creation so start with the highest known version and
work our way down.
gst-libs/gst/gl/x11/gstglcontext_glx.c