gl/calayer: provide the exact GL api version for the wrapped context
authorMatthew Waters <matthew@centricular.com>
Fri, 22 May 2015 15:00:18 +0000 (01:00 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:02 +0000 (19:32 +0000)
commiteba6f6b80f351434efb9b60e7ff690fac5fa17b1
treed59d60dd4722f618674a79fc982b5f07cc12e596
parent6db457a7d944c7ac4a193286798d49e2a0fb78c6
gl/calayer: provide the exact GL api version for the wrapped context

Otherwise we could end up being mistaken for the diference between a
gl3 and a gl2 context resulting in a failure getting the list of
extensions from the wrapped context due to the difference between
glGetString and glGetStringi for the GL_EXTENSIONS token.

https://bugzilla.gnome.org/show_bug.cgi?id=749728
gst-libs/gst/gl/cocoa/gstglcaopengllayer.m