wip model loading + workers

This commit is contained in:
veclavtalica
2025-02-07 10:19:36 +03:00
parent cb88b4bcc5
commit 7040d6f218
12 changed files with 1881 additions and 2 deletions

View File

@ -132,7 +132,7 @@ typedef struct MeshBatch {
/* TODO: use atlas id instead */
typedef struct MeshBatchItem {
TextureKey key;
struct TextureKey key;
struct MeshBatch value;
} MeshBatchItem;
@ -339,4 +339,7 @@ void finally_draw_command(DeferredCommandDraw command);
void issue_deferred_draw_commands(void);
bool model_load_workers_thread(void);
void finally_draw_models(void);
#endif