aboutsummaryrefslogtreecommitdiff
path: root/shaders/glsl100/cross_stitching.fs
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/glsl100/cross_stitching.fs')
-rw-r--r--shaders/glsl100/cross_stitching.fs5
1 files changed, 4 insertions, 1 deletions
diff --git a/shaders/glsl100/cross_stitching.fs b/shaders/glsl100/cross_stitching.fs
index f1afef04..6fabc027 100644
--- a/shaders/glsl100/cross_stitching.fs
+++ b/shaders/glsl100/cross_stitching.fs
@@ -2,8 +2,11 @@
precision mediump float;
+// Input vertex attributes (from vertex shader)
varying vec2 fragTexCoord;
+varying vec4 fragColor;
+// Input uniform values
uniform sampler2D texture0;
uniform vec4 fragTintColor;
@@ -46,7 +49,7 @@ vec4 PostFX(sampler2D tex, vec2 uv)
return c;
}
-void main(void)
+void main()
{
vec3 tc = PostFX(texture0, fragTexCoord).rgb;