fixed TextureAtlas
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user