fixed TextureAtlas

This commit is contained in:
nosch
2025-08-31 01:30:22 +02:00
parent b503e7e57b
commit e61cab8cb9
+2 -2
View File
@@ -16,11 +16,11 @@ struct TextureAtlas {
return atlas[id]; return atlas[id];
} }
bool LoadImage(const char *path) { void LoadImage(const char *path) {
atlas.push_back(LoadTexture(path)); atlas.push_back(LoadTexture(path));
} }
bool AddTexture(Texture texture){ void AddTexture(Texture texture){
atlas.push_back(texture); atlas.push_back(texture);
} }