Fix windows build

This commit is contained in:
2023-02-28 15:40:53 +00:00
parent 4aa6780a8e
commit f05e0e59f0
8 changed files with 69 additions and 19 deletions

View File

@@ -26,6 +26,7 @@ struct Texture *texture_pullfromfile(const char *path)
if (index != -1)
return texhash[index].value;
YughInfo("Loading texture %s.", path);
struct Texture *tex = calloc(1, sizeof(*tex));
/* Find texture's asset; otherwise load default asset */