summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/shaders/path-fill-frag.glsl2
-rw-r--r--data/shaders/pbr-frag.glsl12
2 files changed, 7 insertions, 7 deletions
diff --git a/data/shaders/path-fill-frag.glsl b/data/shaders/path-fill-frag.glsl
index ba9c5a6..e839318 100644
--- a/data/shaders/path-fill-frag.glsl
+++ b/data/shaders/path-fill-frag.glsl
@@ -7,7 +7,7 @@ out vec4 fragColor;
#endif
#ifdef GLSL120
-attribute vec2 fragPosition;
+varying vec2 fragPosition;
#else
in vec2 fragPosition;
#endif
diff --git a/data/shaders/pbr-frag.glsl b/data/shaders/pbr-frag.glsl
index 0986840..33c0616 100644
--- a/data/shaders/pbr-frag.glsl
+++ b/data/shaders/pbr-frag.glsl
@@ -26,12 +26,12 @@ struct Light {
};
#ifdef GLSL120
-attribute vec3 fragWorldPos;
-attribute vec3 fragNormal;
-attribute vec3 fragTangent;
-attribute vec2 fragTexcoord0;
-attribute vec2 fragTexcoord1;
-attribute vec4 fragColor0;
+varying vec3 fragWorldPos;
+varying vec3 fragNormal;
+varying vec3 fragTangent;
+varying vec2 fragTexcoord0;
+varying vec2 fragTexcoord1;
+varying vec4 fragColor0;
#else
in vec3 fragWorldPos;
in vec3 fragNormal;