diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Render.cpp | 4 | ||||
-rw-r--r-- | src/Render.hpp | 2 |
2 files changed, 3 insertions, 3 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) diff --git a/src/Render.hpp b/src/Render.hpp index 3998f26..7d3af39 100644 --- a/src/Render.hpp +++ b/src/Render.hpp @@ -39,7 +39,7 @@ class Render { void HandleEvents(); - void InitSfml(unsigned int WinWidth, unsigned int WinHeight, std::string WinTitle); + void InitSdl(unsigned int WinWidth, unsigned int WinHeight, std::string WinTitle); void InitGlew(); |