Fixed compilation of gamma correction shader with particular OpenGL setup

This commit is contained in:
alexey.lysiuk 2016-05-02 16:13:54 +03:00
parent 4c4b97316e
commit f9022f3054

View file

@ -3,6 +3,8 @@ uniform sampler2D tex;
in vec4 vTexCoord;
in vec4 vColor;
out vec4 FragColor;
void main()
{
vec3 color = texture(tex, vTexCoord.st).rgb;