summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2020-11-19 08:35:06 -0500
committerDavid Thompson <dthompson2@worcester.edu>2020-11-19 08:35:06 -0500
commit35ed4206f9e3966972158235045bc6209c54603b (patch)
treeea25231b5697e8ee236222f3ea1d9427355bb52d
parent974f650ae4d053a8263040bbc848c47628def761 (diff)
graphics: path: Fix bad syntax in fragment shader in GLSL 1.2.
-rw-r--r--data/shaders/path-frag.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/shaders/path-frag.glsl b/data/shaders/path-frag.glsl
index a38f1d0..0288ae1 100644
--- a/data/shaders/path-frag.glsl
+++ b/data/shaders/path-frag.glsl
@@ -5,8 +5,8 @@ out vec4 fragColor;
#endif
#ifdef GLSL120
-attribute vec2 fragTex;
-attribute float fragStrokeLength;
+varying vec2 fragTex;
+varying float fragStrokeLength;
#else
in vec2 fragTex;
in float fragStrokeLength;