aboutsummaryrefslogtreecommitdiff
path: root/stockton-render/src/draw/data/stockton.frag
diff options
context:
space:
mode:
Diffstat (limited to 'stockton-render/src/draw/data/stockton.frag')
-rw-r--r--stockton-render/src/draw/data/stockton.frag2
1 files changed, 1 insertions, 1 deletions
diff --git a/stockton-render/src/draw/data/stockton.frag b/stockton-render/src/draw/data/stockton.frag
index 5c6e1d7..336d9fe 100644
--- a/stockton-render/src/draw/data/stockton.frag
+++ b/stockton-render/src/draw/data/stockton.frag
@@ -11,5 +11,5 @@ layout (location = 0) out vec4 color;
void main()
{
- color = texture(sampler2D(tex[frag_tex], samp[frag_tex]), frag_uv);
+ color = texture(sampler2D(tex[frag_tex % 8], samp[frag_tex % 8]), frag_uv);
} \ No newline at end of file