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

@ -408,7 +408,7 @@ void pxl8_gfx_project(pxl8_gfx* gfx, f32 left, f32 right, f32 top, f32 bottom) {
(void)gfx; (void)left; (void)right; (void)top; (void)bottom;
}
void pxl8_clr(pxl8_gfx* gfx, u32 color) {
void pxl8_clear(pxl8_gfx* gfx, u32 color) {
if (!gfx || !gfx->framebuffer) return;
static u32 frame_count = 0;