Skip to content

Commit 12140cd

Browse files
authored
explicitly state TEXTURE_WRAP_REPEAT for web build (#5711)
1 parent 3f7f040 commit 12140cd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

examples/shaders/shaders_texture_tiling.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ int main(void)
5656
// Set the texture tiling using a shader
5757
float tiling[2] = { 3.0f, 3.0f };
5858
Shader shader = LoadShader(0, TextFormat("resources/shaders/glsl%i/tiling.fs", GLSL_VERSION));
59+
SetTextureWrap(texture, TEXTURE_WRAP_REPEAT);
5960
SetShaderValue(shader, GetShaderLocation(shader, "tiling"), tiling, SHADER_UNIFORM_VEC2);
6061
model.materials[0].shader = shader;
6162

0 commit comments

Comments
 (0)