From 2f561195684fb6471dd14dbecdfaf01775fbf783 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 18 Dec 2018 18:19:11 +0100 Subject: [PATCH] Corrected issue when scaling --- examples/core/core_2d_camera.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/core/core_2d_camera.c b/examples/core/core_2d_camera.c index 7c35c907..6a0b11ad 100644 --- a/examples/core/core_2d_camera.c +++ b/examples/core/core_2d_camera.c @@ -105,8 +105,8 @@ int main() DrawRectangleRec(player, RED); - DrawRectangle(camera.target.x, -500, 1, screenHeight*4, GREEN); - DrawRectangle(-500, camera.target.y, screenWidth*4, 1, GREEN); + DrawLine(camera.target.x, -screenHeight*10, camera.target.x, screenHeight*10, GREEN); + DrawLine(-screenWidth*10, camera.target.y, screenWidth*10, camera.target.y, GREEN); EndMode2D();