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)
committerMatthew Waters <matthew@centricular.com>
Sat, 18 Jul 2015 06:31:43 +0000 (16:31 +1000)
commite96431e9b1c0722fd69cd4cfb8d58e3a52e6cee2
tree602b49b492ef00ceef9e2f36126e298a6dcacbca
parentbe9ad5eeb255c68b7ed07c6cb6d64b744c2076c7
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