]> git.sesse.net Git - movit/blobdiff - vs.glsl
Make check_error() output the file as well as the line, now that we have several.
[movit] / vs.glsl
diff --git a/vs.glsl b/vs.glsl
index b6db3cbb3f63a517a8b2f3827ded84302e411de5..4d79aaf22cdc6bcdc9e20a922805859ac58ddf8e 100644 (file)
--- a/vs.glsl
+++ b/vs.glsl
@@ -1,5 +1,5 @@
 #version 120
-varying vec4 tc;
+varying vec2 tc;
 //varying vec3 lift, inv_gamma, gain;
 //uniform vec3 gamma;
 //varying vec3 inv_gamma;
@@ -15,7 +15,7 @@ vec3 to_linear(vec3 x) {
 
 void main()
 {
-        tc = gl_MultiTexCoord0;
+        tc = gl_MultiTexCoord0.st;
 
        //lift = to_linear(vec3(rgba.r, 0.0, 0.0));
        //lift = vec3(rgba.r, 0.0, 0.0);