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