diff options
author | David Thompson <dthompson2@worcester.edu> | 2020-11-19 08:35:06 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2020-11-19 08:35:06 -0500 |
commit | 35ed4206f9e3966972158235045bc6209c54603b (patch) | |
tree | ea25231b5697e8ee236222f3ea1d9427355bb52d /data/shaders | |
parent | 974f650ae4d053a8263040bbc848c47628def761 (diff) |
graphics: path: Fix bad syntax in fragment shader in GLSL 1.2.
Diffstat (limited to 'data/shaders')
-rw-r--r-- | data/shaders/path-frag.glsl | 4 |
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; |