summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee/render/sprite.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chickadee/render/sprite.scm b/chickadee/render/sprite.scm
index c3b7efc..144c656 100644
--- a/chickadee/render/sprite.scm
+++ b/chickadee/render/sprite.scm
@@ -75,7 +75,7 @@ uniform vec4 tint;
void main (void) {
#ifdef GLSL330
- fragColor = texture2D(colorTexture, fragTex) * tint;
+ fragColor = texture(colorTexture, fragTex) * tint;
#elif ifdef GLSL130
gl_FragColor = texture2D(colorTexture, fragTex) * tint;
#endif