diff options
author | LaG1924 <lag1924@gmail.com> | 2021-11-19 11:02:11 +0100 |
---|---|---|
committer | LaG1924 <lag1924@gmail.com> | 2021-11-19 11:02:11 +0100 |
commit | b99f058de08063cb1632a9ef35e4edb10097f31b (patch) | |
tree | 1e730998ba83b06a326e356a1b3b1f5ed3ef99b7 /src/AssetManager.cpp | |
parent | Changed sky rendering to Gal (diff) | |
download | AltCraft-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.cpp | 4 |
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) { |