summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2020-08-24 19:56:51 -0400
committerDavid Thompson <dthompson2@worcester.edu>2020-08-24 19:56:51 -0400
commite087ad330baa5f392e8ce4a10452354b18e88e6b (patch)
tree5af1384883b1b02dd4e71840b49f6c019fffb48e
parentaaf85451c41d1419c62d16b568cf334d9f6cc76d (diff)
render: sprite: Fix GLSL 3.3 shader.
-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