/apps/demos/bunnymark: fix background
This commit is contained in:
1 parent
68df2eecfc
commit
db0adbdf6c
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user