diff options
Diffstat (limited to '')
-rw-r--r-- | src/Render.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Render.cpp b/src/Render.cpp index ba8d0ed..1bd5273 100644 --- a/src/Render.cpp +++ b/src/Render.cpp @@ -92,8 +92,8 @@ void Render::InitGlew() { void Render::PrepareToRendering() { //TextureAtlas texture - glActiveTexture(GL_TEXTURE0); - glBindTexture(GL_TEXTURE_2D, AssetManager::Instance().GetTextureAtlas()); + glActiveTexture(GL_TEXTURE0); + glBindTexture(GL_TEXTURE_2D_ARRAY, AssetManager::Instance().GetTextureAtlasId()); AssetManager::Instance().GetTextureAtlasIndexes(); ImGui_ImplSdlGL3_Init(window); |