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.hpp | |
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 '')
-rw-r--r-- | src/AssetManager.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AssetManager.hpp b/src/AssetManager.hpp index 7f6c4fb..6fe2eab 100644 --- a/src/AssetManager.hpp +++ b/src/AssetManager.hpp @@ -6,7 +6,6 @@ #include <functional> #include <memory> -#include <GL/glew.h> #include <glm/vec4.hpp> #include <glm/vec3.hpp> #include <glm/mat4x4.hpp> @@ -15,6 +14,7 @@ #include "Block.hpp" #include "TextureAtlas.hpp" #include "Shader.hpp" +#include "Gal.hpp" enum FaceDirection { down, @@ -189,7 +189,7 @@ namespace AssetManager { AssetTreeNode *GetAssetByAssetName(const std::string &assetName); - GLuint GetTextureAtlasId(); + std::shared_ptr<Gal::Texture> GetTextureAtlas(); TextureCoord GetTexture(const std::string assetName); }; |