add anim and transitions and re-org lua api scripts
This commit is contained in:
parent
a15d0db902
commit
27b6459b9a
24 changed files with 1857 additions and 573 deletions
|
|
@ -141,7 +141,7 @@ pxl8_gfx* pxl8_gfx_create(
|
|||
i32 window_width,
|
||||
i32 window_height
|
||||
) {
|
||||
pxl8_gfx* gfx = (pxl8_gfx*)calloc(1, sizeof(*gfx));
|
||||
pxl8_gfx* gfx = (pxl8_gfx*)calloc(1, sizeof(pxl8_gfx));
|
||||
if (!gfx) {
|
||||
pxl8_error("Failed to allocate graphics context");
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue