From 12140cd444d03591c36b0fdd6dec3a7173e5edb3 Mon Sep 17 00:00:00 2001 From: Green3492 <57958064+r3g492@users.noreply.github.com> Date: Wed, 1 Apr 2026 21:48:49 +0900 Subject: [PATCH] explicitly state TEXTURE_WRAP_REPEAT for web build (#5711) --- examples/shaders/shaders_texture_tiling.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/shaders/shaders_texture_tiling.c b/examples/shaders/shaders_texture_tiling.c index 14e15b8b2..4f6b26d71 100644 --- a/examples/shaders/shaders_texture_tiling.c +++ b/examples/shaders/shaders_texture_tiling.c @@ -56,6 +56,7 @@ int main(void) // Set the texture tiling using a shader float tiling[2] = { 3.0f, 3.0f }; Shader shader = LoadShader(0, TextFormat("resources/shaders/glsl%i/tiling.fs", GLSL_VERSION)); + SetTextureWrap(texture, TEXTURE_WRAP_REPEAT); SetShaderValue(shader, GetShaderLocation(shader, "tiling"), tiling, SHADER_UNIFORM_VEC2); model.materials[0].shader = shader;