diff options
author | LaG1924 <lag1924@gmail.com> | 2021-11-27 15:03:36 +0100 |
---|---|---|
committer | LaG1924 <lag1924@gmail.com> | 2021-11-27 15:03:36 +0100 |
commit | 7f3ed11618df0cce5c3d799e0b3f4c009714f2c3 (patch) | |
tree | 8827c3ba45b52cdda6524df70ce58c8ca1c55e79 /src/Render.cpp | |
parent | Added PostProcess class (diff) | |
download | AltCraft-7f3ed11618df0cce5c3d799e0b3f4c009714f2c3.tar AltCraft-7f3ed11618df0cce5c3d799e0b3f4c009714f2c3.tar.gz AltCraft-7f3ed11618df0cce5c3d799e0b3f4c009714f2c3.tar.bz2 AltCraft-7f3ed11618df0cce5c3d799e0b3f4c009714f2c3.tar.lz AltCraft-7f3ed11618df0cce5c3d799e0b3f4c009714f2c3.tar.xz AltCraft-7f3ed11618df0cce5c3d799e0b3f4c009714f2c3.tar.zst AltCraft-7f3ed11618df0cce5c3d799e0b3f4c009714f2c3.zip |
Diffstat (limited to 'src/Render.cpp')
-rw-r--r-- | src/Render.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Render.cpp b/src/Render.cpp index fadec80..8a5253c 100644 --- a/src/Render.cpp +++ b/src/Render.cpp @@ -123,6 +123,7 @@ void Render::InitSdl(unsigned int WinWidth, unsigned int WinHeight, std::string void Render::InitGlew() { auto gal = Gal::GetImplementation(); gal->Init(); + gal->GetGlobalShaderParameters()->Resize<GlobalShaderParameters>(); int width, height; SDL_GL_GetDrawableSize(window, &width, &height); |