From 2bbf92ad5ae7708bf18ac7ef333e9a979d8d1bde Mon Sep 17 00:00:00 2001 From: Uneven Prankster Date: Thu, 16 Nov 2023 21:12:27 -0300 Subject: Working so hard like a soldier Can't afford a thing on TV --- raylib/examples/shaders/shaders_write_depth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'raylib/examples/shaders/shaders_write_depth.c') diff --git a/raylib/examples/shaders/shaders_write_depth.c b/raylib/examples/shaders/shaders_write_depth.c index d9e40d0..3169724 100644 --- a/raylib/examples/shaders/shaders_write_depth.c +++ b/raylib/examples/shaders/shaders_write_depth.c @@ -1,4 +1,4 @@ -/******************************************************************************************* +/******************************************************************************************* * * raylib [shaders] example - Depth buffer writing * @@ -92,7 +92,7 @@ int main(void) BeginDrawing(); ClearBackground(RAYWHITE); - DrawTextureRec(target.texture, (Rectangle) { 0, 0, screenWidth, -screenHeight }, (Vector2) { 0, 0 }, WHITE); + DrawTextureRec(target.texture, (Rectangle) { 0, 0, (float)screenWidth, (float)-screenHeight }, (Vector2) { 0, 0 }, WHITE); DrawFPS(10, 10); EndDrawing(); //---------------------------------------------------------------------------------- -- cgit v1.2.3