From 10e0dbf881aaf31c82fd90305e6992027f840e01 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sat, 13 Jan 2018 08:26:03 +0500 Subject: Finally removed all SFML references --- src/Render.cpp | 4 ++-- src/Render.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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(); -- cgit v1.2.3