/apps/demos/bunnymark: fix background
This commit is contained in:
parent
68df2eecfc
commit
db0adbdf6c
@ -92,7 +92,7 @@ void game_tick(void)
|
|||||||
handle_input();
|
handle_input();
|
||||||
|
|
||||||
// Clear window with Gray color (set the background color this way)
|
// 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++)
|
for (int i = 0; i < state->bunniesCount; i++)
|
||||||
{ // Draw each bunny based on their position and color, also scale accordingly
|
{ // Draw each bunny based on their position and color, also scale accordingly
|
||||||
|
Loading…
Reference in New Issue
Block a user