diff options
author | David Thompson <dthompson2@worcester.edu> | 2020-08-24 19:56:51 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2020-08-24 19:56:51 -0400 |
commit | e087ad330baa5f392e8ce4a10452354b18e88e6b (patch) | |
tree | 5af1384883b1b02dd4e71840b49f6c019fffb48e | |
parent | aaf85451c41d1419c62d16b568cf334d9f6cc76d (diff) |
render: sprite: Fix GLSL 3.3 shader.
-rw-r--r-- | chickadee/render/sprite.scm | 2 |
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 |