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
|
|
@ -25,7 +25,7 @@ static void* sdl3_create(pxl8_color_mode mode, pxl8_resolution resolution,
|
|||
const char* title, i32 win_w, i32 win_h) {
|
||||
(void)mode;
|
||||
|
||||
pxl8_sdl3_context* ctx = (pxl8_sdl3_context*)SDL_calloc(1, sizeof(*ctx));
|
||||
pxl8_sdl3_context* ctx = (pxl8_sdl3_context*)SDL_calloc(1, sizeof(pxl8_sdl3_context));
|
||||
if (!ctx) {
|
||||
pxl8_error("Failed to allocate SDL3 context");
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue