summaryrefslogtreecommitdiffstats
path: root/src/Render.cpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-13 04:26:03 +0100
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-13 04:26:03 +0100
commit10e0dbf881aaf31c82fd90305e6992027f840e01 (patch)
treebcf4250ae3e02a4ed19c73585f785f5684d83e41 /src/Render.cpp
parentUpdated to 1.12.2 (diff)
downloadAltCraft-10e0dbf881aaf31c82fd90305e6992027f840e01.tar
AltCraft-10e0dbf881aaf31c82fd90305e6992027f840e01.tar.gz
AltCraft-10e0dbf881aaf31c82fd90305e6992027f840e01.tar.bz2
AltCraft-10e0dbf881aaf31c82fd90305e6992027f840e01.tar.lz
AltCraft-10e0dbf881aaf31c82fd90305e6992027f840e01.tar.xz
AltCraft-10e0dbf881aaf31c82fd90305e6992027f840e01.tar.zst
AltCraft-10e0dbf881aaf31c82fd90305e6992027f840e01.zip
Diffstat (limited to '')
-rw-r--r--src/Render.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Render.cpp b/src/Render.cpp
index 9c6cb38..5aa38d7 100644
--- a/src/Render.cpp
+++ b/src/Render.cpp
@@ -14,7 +14,7 @@
#include "RendererWorld.hpp"
Render::Render(unsigned int windowWidth, unsigned int windowHeight, std::string windowTitle) : timer(std::chrono::milliseconds(16)) {
- InitSfml(windowWidth, windowHeight, windowTitle);
+ InitSdl(windowWidth, windowHeight, windowTitle);
glCheckError();
InitGlew();
glCheckError();
@@ -31,7 +31,7 @@ Render::~Render() {
SDL_Quit();
}
-void Render::InitSfml(unsigned int WinWidth, unsigned int WinHeight, std::string WinTitle) {
+void Render::InitSdl(unsigned int WinWidth, unsigned int WinHeight, std::string WinTitle) {
LOG(INFO) << "Creating window: " << WinWidth << "x" << WinHeight << " \"" << WinTitle << "\"";
if (SDL_Init(SDL_INIT_VIDEO) < 0)