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/Render.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/Render.cpp')
-rw-r--r-- | src/Render.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Render.cpp b/src/Render.cpp index 8b78efb..74582a1 100644 --- a/src/Render.cpp +++ b/src/Render.cpp @@ -127,11 +127,7 @@ void Render::InitGlew() { } void Render::PrepareToRendering() { - //TextureAtlas texture - glActiveTexture(GL_TEXTURE0); - glBindTexture(GL_TEXTURE_2D_ARRAY, AssetManager::GetTextureAtlasId()); - - int width, height; + int width, height; SDL_GL_GetDrawableSize(window, &width, &height); framebuffer = std::make_unique<Framebuffer>(width, height, true); Framebuffer::GetDefault().Activate(); |