From 77ba40f97e6176e5bdeccf632ea17cb3121a0333 Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 18 Sep 2025 15:30:12 +0300 Subject: Fixed fast_tilemap and texture_atlas_repeat examples. --- examples/texture_atlas_repeat/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/texture_atlas_repeat/main.lua') diff --git a/examples/texture_atlas_repeat/main.lua b/examples/texture_atlas_repeat/main.lua index 6056e71..b0b9499 100644 --- a/examples/texture_atlas_repeat/main.lua +++ b/examples/texture_atlas_repeat/main.lua @@ -28,8 +28,8 @@ function RL.draw() RL.ClearBackground( RL.RAYWHITE ) RL.BeginShaderMode( shader ) - RL.DrawTexturePro( atlas, { 0, 0, 32, 32 }, { 0, 0, 64, 64 }, { 0.0 }, 0.0, RL.WHITE ) - RL.DrawTexturePro( atlas, { 32, 0, 32, 32 }, { 0, 64, 128, 64 }, { 0.0 }, 0.0, RL.WHITE ) + RL.DrawTexturePro( atlas, { 0, 0, 32, 32 }, { 0, 0, 64, 64 }, { 0.0, 0.0 }, 0.0, RL.WHITE ) + RL.DrawTexturePro( atlas, { 32, 0, 32, 32 }, { 0, 64, 128, 64 }, { 0.0, 0.0 }, 0.0, RL.WHITE ) RL.DrawTriangle( { 32, 200 }, { 128, 400 }, { 320, 240 }, RL.WHITE ) RL.EndShaderMode() end -- cgit v1.2.3