glshader: prevent from getting attributes without vertex shader
authorNeos3452 <neos3452@gmail.com>
Fri, 13 Mar 2015 17:04:17 +0000 (17:04 +0000)
committerMatthew Waters <matthew@centricular.com>
Fri, 13 Mar 2015 17:35:18 +0000 (17:35 +0000)
commit40a4530c5d1ddb7625ccc9ee6e95e5c044db29f7
tree994b667319d2ed1e3dfa8731ec6e13329c0d8c3f
parent450dc5f697aece9cc40b0e1d1b4a175286de8445
glshader: prevent from getting attributes without vertex shader

It doesn't make sense to query for vertex attributes without a vertex
shader. Moreover this is causing a crash on OSX.

https://bugzilla.gnome.org/show_bug.cgi?id=746168
gst-libs/gst/gl/gstglshader.c