summaryrefslogtreecommitdiffstats
path: root/src/AssetManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/AssetManager.cpp')
-rw-r--r--src/AssetManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AssetManager.cpp b/src/AssetManager.cpp
index 9cbb6df..1a7e523 100644
--- a/src/AssetManager.cpp
+++ b/src/AssetManager.cpp
@@ -690,9 +690,9 @@ AssetTreeNode *AssetManager::GetAssetByAssetName(const std::string & assetName)
return node;
}
-GLuint AssetManager::GetTextureAtlasId()
+std::shared_ptr<Gal::Texture> AssetManager::GetTextureAtlas()
{
- return atlas->GetRawTextureId();
+ return atlas->GetGalTexture();
}
TextureCoord AssetManager::GetTexture(const std::string assetName) {