summaryrefslogtreecommitdiffstats
path: root/src/AssetManager.cpp
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-11-19 11:02:11 +0100
committerLaG1924 <lag1924@gmail.com>2021-11-19 11:02:11 +0100
commitb99f058de08063cb1632a9ef35e4edb10097f31b (patch)
tree1e730998ba83b06a326e356a1b3b1f5ed3ef99b7 /src/AssetManager.cpp
parentChanged sky rendering to Gal (diff)
downloadAltCraft-b99f058de08063cb1632a9ef35e4edb10097f31b.tar
AltCraft-b99f058de08063cb1632a9ef35e4edb10097f31b.tar.gz
AltCraft-b99f058de08063cb1632a9ef35e4edb10097f31b.tar.bz2
AltCraft-b99f058de08063cb1632a9ef35e4edb10097f31b.tar.lz
AltCraft-b99f058de08063cb1632a9ef35e4edb10097f31b.tar.xz
AltCraft-b99f058de08063cb1632a9ef35e4edb10097f31b.tar.zst
AltCraft-b99f058de08063cb1632a9ef35e4edb10097f31b.zip
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) {