glshader: attempt to detect the gles2 inside opengl3 case
authorMatthew Waters <matthew@centricular.com>
Tue, 12 May 2015 12:04:26 +0000 (22:04 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:01 +0000 (19:32 +0000)
commit675f7898711e394696b504efb7b3a62ec719fb8a
treed50b233b90060366dc9c3e2d14103a437e368f0f
parent2b4ce9435d26a32e92515b0e8b313cc089212755
glshader: attempt to detect the gles2 inside opengl3 case

This is necessary to use gles2 shaders in a GL 3 core context on
OS X which fails without a proper #version being set on the shaders.
gst-libs/gst/gl/gstglshader.c