refactor some api things

This commit is contained in:
asrael 2025-11-15 11:55:00 -06:00
parent 27b6459b9a
commit 1634b1126b
9 changed files with 35 additions and 34 deletions

View file

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