]> git.sesse.net Git - movit/commitdiff
Fix a confusion in the vertex shader chaining.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 2 Oct 2012 11:55:43 +0000 (13:55 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 2 Oct 2012 11:55:49 +0000 (13:55 +0200)
footer.vert
header.vert
identity.vert

index 916eea9a90f2ebdd81772bc2cbf0e71098a68e21..e4629c6fe324ecc8b72d5067cd7d30151baae782 100644 (file)
@@ -2,6 +2,6 @@ varying vec2 tc;
 
 void main()
 {
 
 void main()
 {
-       tc = LAST_INPUT(tc);
+       tc = LAST_INPUT();
         gl_Position = ftransform();
 }
         gl_Position = ftransform();
 }
index c171645f641d77c585989a08c1ff4f239b5b119a..3ab870d97fa6fdcfdd8b7b98e0394c80efbdf8cf 100644 (file)
@@ -1,4 +1,4 @@
-vec2 read_input(vec2 tc)
+vec2 read_input()
 {
        return gl_MultiTexCoord0.st;
 }
 {
        return gl_MultiTexCoord0.st;
 }
index 10e19e7ec34fbf194a17e206a389bd59d51247a9..77b6ff856436ce2440889a2d5370b952d9486a72 100644 (file)
@@ -1,5 +1,5 @@
 // Identity transformation (sometimes useful to do nothing).
 // Identity transformation (sometimes useful to do nothing).
-vec2 FUNCNAME(vec2 tc)
+vec2 FUNCNAME()
 {
 {
-       return LAST_INPUT(tc);
+       return LAST_INPUT();
 }
 }