/apps/demos/bunnymark: fix background

This commit is contained in:
veclav talica 2024-10-08 10:18:41 +03:00
parent 68df2eecfc
commit db0adbdf6c

View File

@ -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