On ATI cards given shaders does not compiled due to lack of "#version" at its beggings. When version is not given version 110 is assumed which is not compatible with GL30. Left original path of shader creation but added correction when the first one fails.
On ATI cards given shaders does not compiled due to lack of "#version" at its beggings. When version is not given version 110 is assumed which is not compatible with GL30. Left original path of shader creation but added correction when the first one fails.