organize headers, add icon/logo sprites to demo

This commit is contained in:
asrael 2025-10-01 12:56:13 -05:00
parent 553bf95c3b
commit 2a1a3f1768
21 changed files with 52 additions and 44 deletions

View file

@ -1,7 +1,9 @@
#include "pxl8_font.h"
#include <SDL3/SDL.h>
#include <string.h>
#include <SDL3/SDL.h>
#include "pxl8_font.h"
pxl8_result pxl8_font_create_atlas(const pxl8_font* font, u8** atlas_data, i32* atlas_width, i32* atlas_height) {
if (!font || !atlas_data || !atlas_width || !atlas_height) {
return PXL8_ERROR_NULL_POINTER;