Skip to content

Commit

Permalink
hard code screen dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kali committed Sep 27, 2022
1 parent a7b48d8 commit 95f10cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bc_demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,8 @@ bool stateInit (state_t* const state, const Gui* gui)
}

//! use of "gui->canvas" is a hack!
state->cnvW = canvas_width(gui->canvas);
state->cnvH = canvas_height(gui->canvas);
state->cnvW = 128;//canvas_width(gui->canvas);
state->cnvH = 64;//canvas_height(gui->canvas);

state->ballR = 5; // radius
animateSet(state->animID, state, gui);
Expand Down

0 comments on commit 95f10cd

Please sign in to comment.