summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee/graphics/particles.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chickadee/graphics/particles.scm b/chickadee/graphics/particles.scm
index 90cfa11..167f5c7 100644
--- a/chickadee/graphics/particles.scm
+++ b/chickadee/graphics/particles.scm
@@ -174,7 +174,7 @@ uniform vec4 endColor;
void main (void) {
#ifdef GLSL330
fragColor = mix(endColor, startColor, t) * texture(color_texture, fragTex);
-#elif defined(GLSL130)
+#else
gl_FragColor = mix(endColor, startColor, t) * texture2D(color_texture, fragTex);
#endif
}