From e71633a0be295c91ff8a039e67deee6fef590237 Mon Sep 17 00:00:00 2001 From: Maicon Santana Date: Mon, 23 Mar 2026 13:05:23 +0000 Subject: [PATCH] Set textureWrapRepeat to avoid issue on web version (#5684) --- examples/models/models_yaw_pitch_roll.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/models/models_yaw_pitch_roll.c b/examples/models/models_yaw_pitch_roll.c index c19aafdcd..af0f06daf 100644 --- a/examples/models/models_yaw_pitch_roll.c +++ b/examples/models/models_yaw_pitch_roll.c @@ -41,6 +41,9 @@ int main(void) Model model = LoadModel("resources/models/obj/plane.obj"); // Load model Texture2D texture = LoadTexture("resources/models/obj/plane_diffuse.png"); // Load model texture + + SetTextureWrap(texture, TEXTURE_WRAP_REPEAT); // Force Repeat to avoid issue on Web version + model.materials[0].maps[MATERIAL_MAP_DIFFUSE].texture = texture; // Set map diffuse texture float pitch = 0.0f;