diff options
Diffstat (limited to 'examples/texture_atlas_repeat/main.lua')
| -rw-r--r-- | examples/texture_atlas_repeat/main.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
