refactor some api things
This commit is contained in:
parent
27b6459b9a
commit
1634b1126b
9 changed files with 35 additions and 34 deletions
|
|
@ -252,7 +252,7 @@ pxl8_game_result pxl8_frame(pxl8_game* game) {
|
|||
pxl8_error("Error calling frame: %s", pxl8_script_get_last_error(game->script));
|
||||
}
|
||||
} else {
|
||||
pxl8_clr(game->gfx, 32);
|
||||
pxl8_clear(game->gfx, 32);
|
||||
|
||||
i32 render_width, render_height;
|
||||
pxl8_gfx_get_resolution_dimensions(game->resolution, &render_width, &render_height);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue