summaryrefslogtreecommitdiffstats
path: root/src/Render.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Render.cpp')
-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)