From db0adbdf6c52b18ac7b23d51961d42dfd48cc7e9 Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Tue, 8 Oct 2024 10:18:41 +0300 Subject: [PATCH] /apps/demos/bunnymark: fix background --- apps/demos/bunnymark/game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/demos/bunnymark/game.c b/apps/demos/bunnymark/game.c index 629fd18..5385746 100644 --- a/apps/demos/bunnymark/game.c +++ b/apps/demos/bunnymark/game.c @@ -92,7 +92,7 @@ void game_tick(void) handle_input(); // Clear window with Gray color (set the background color this way) - draw_rectangle((Rect){0, 0, ctx.window_w, ctx.window_h}, GRAY); + draw_rectangle((Rect){0, 0, ctx.base_draw_w, ctx.base_draw_h}, GRAY); for (int i = 0; i < state->bunniesCount; i++) { // Draw each bunny based on their position and color, also scale accordingly