audio change

This commit is contained in:
2023-03-24 19:01:01 +00:00
parent a170d88ccc
commit 5ca3629406
12 changed files with 93044 additions and 92 deletions

View File

@@ -52,6 +52,7 @@ struct Texture *texture_pullfromfile(const char *path)
YughError("STBI failed to load file %s with message: %s", path, stbi_failure_reason());
return NULL;
}
tex->data = data;
glGenTextures(1, &tex->id);
@@ -96,7 +97,7 @@ struct Texture *texture_pullfromfile(const char *path)
stbi_image_free(data);
// stbi_image_free(data);
if (shlen(texhash) == 0)
sh_new_arena(texhash);