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)
committerMatthew Waters <matthew@centricular.com>
Thu, 14 May 2015 04:58:07 +0000 (14:58 +1000)
commite1b077d6aff3e431cc94bae22629070aa7047fdb
tree26ced13490de2e068ddd916ecc46e58dfc591ec5
parent3d0bc93edca205419e8c50fff0ebefefbbfa1864
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