From 7e24c31e94d5980ca606a1afe45dc81e28e9546d Mon Sep 17 00:00:00 2001 From: Amos <48657826+Mauler125@users.noreply.github.com> Date: Wed, 16 Mar 2022 01:36:57 +0100 Subject: [PATCH] Forgot this one --- r5dev/naveditor/main.cpp | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/r5dev/naveditor/main.cpp b/r5dev/naveditor/main.cpp index a7b7e49a..2062f7d9 100644 --- a/r5dev/naveditor/main.cpp +++ b/r5dev/naveditor/main.cpp @@ -18,6 +18,7 @@ #include "Pch.h" #include "Recast/Include/Recast.h" +#include "Recast/Include/RecastAlloc.h" #include "DebugUtils/Include/RecastDebugDraw.h" #include "NavEditor/Include/InputGeom.h" #include "NavEditor/Include/TestCase.h" @@ -28,16 +29,6 @@ #include "NavEditor/Include/Sample_Debug.h" #include "NavEditor/include/DroidSans.h" -#include "Recast/Include/RecastAlloc.h" - - -#ifdef WIN32 -# define snprintf _snprintf -# define putenv _putenv -#include "commdlg.h" - -#endif - using std::string; using std::vector; @@ -346,7 +337,7 @@ int not_main(int argc, char** argv) if (errorCode != 0 || !window || !renderer) { - printf("Could not initialise SDL opengl\nError: %s\n", SDL_GetError()); + printf("Could not initialise SDL OpenGL\nError: %s\n", SDL_GetError()); return -1; } @@ -355,7 +346,7 @@ int not_main(int argc, char** argv) if (!imguiRenderGLInit(droidsans_data)) { - printf("Could not init GUI renderer.\n"); + printf("Could not initialise GUI renderer.\n"); SDL_Quit(); return -1; }