From f0d67efd0a4269de425f6dad2e4e23dc869d3f91 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=B4me=20Chilliet?= Date: Sat, 17 Dec 2016 17:33:53 +0100 Subject: [PATCH] Renamed method because DrawText is reserved on some windows build --- Source/GameDraw.cpp | 2 +- Source/Tutorial.cpp | 2 +- Source/Tutorial.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/GameDraw.cpp b/Source/GameDraw.cpp index 7ab8565..5b3edfa 100644 --- a/Source/GameDraw.cpp +++ b/Source/GameDraw.cpp @@ -577,7 +577,7 @@ int Game::DrawGLScene(StereoSide side) } if (Tutorial::active) { - Tutorial::DrawText(); + Tutorial::DrawTextInfo(); } //Hot spots diff --git a/Source/Tutorial.cpp b/Source/Tutorial.cpp index cdb5599..7281a0c 100644 --- a/Source/Tutorial.cpp +++ b/Source/Tutorial.cpp @@ -518,7 +518,7 @@ void Tutorial::Do(float multiplier) } } -void Tutorial::DrawText() +void Tutorial::DrawTextInfo() { std::string string; std::string string2; diff --git a/Source/Tutorial.hpp b/Source/Tutorial.hpp index 827ea58..1c2c6da 100644 --- a/Source/Tutorial.hpp +++ b/Source/Tutorial.hpp @@ -30,7 +30,7 @@ public: static float maxtime; static void Do(float multiplier); - static void DrawText(); + static void DrawTextInfo(); static void DoStuff(float multiplier); private: -- 2.39.2