From a1294a4d5d7901dbf2bc88cf9e59b8530095ef6c Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Tue, 24 Dec 2013 20:18:49 -0800 Subject: [PATCH] Fixed MinGW64 compile errors. --- examples/04-mesh/mesh.cpp | 6 +++--- examples/09-hdr/hdr.cpp | 5 +++-- examples/12-lod/lod.cpp | 6 +++--- examples/13-stencil/stencil.cpp | 6 +++--- examples/common/entry/input.cpp | 6 +++--- 5 files changed, 15 insertions(+), 14 deletions(-) diff --git a/examples/04-mesh/mesh.cpp b/examples/04-mesh/mesh.cpp index 97d84416..81353ead 100644 --- a/examples/04-mesh/mesh.cpp +++ b/examples/04-mesh/mesh.cpp @@ -3,6 +3,9 @@ * License: http://www.opensource.org/licenses/BSD-2-Clause */ +#include +#include + #include "common.h" #include @@ -14,9 +17,6 @@ #include #include -#include -#include - static const char* s_shaderPath = NULL; static bool s_flipV = false; diff --git a/examples/09-hdr/hdr.cpp b/examples/09-hdr/hdr.cpp index 85bcfa07..b8033242 100644 --- a/examples/09-hdr/hdr.cpp +++ b/examples/09-hdr/hdr.cpp @@ -3,6 +3,9 @@ * License: http://www.opensource.org/licenses/BSD-2-Clause */ +#include +#include + #include "common.h" #include @@ -12,8 +15,6 @@ #include "imgui/imgui.h" #include -#include -#include static const char* s_shaderPath = NULL; diff --git a/examples/12-lod/lod.cpp b/examples/12-lod/lod.cpp index 6f97ed0e..1d65728c 100644 --- a/examples/12-lod/lod.cpp +++ b/examples/12-lod/lod.cpp @@ -3,6 +3,9 @@ * License: http://www.opensource.org/licenses/BSD-2-Clause */ +#include +#include + #include "common.h" #include @@ -14,9 +17,6 @@ #include #include -#include -#include - static const char* s_shaderPath = NULL; static bool s_flipV = false; diff --git a/examples/13-stencil/stencil.cpp b/examples/13-stencil/stencil.cpp index 4c0000fd..0b1fc66c 100644 --- a/examples/13-stencil/stencil.cpp +++ b/examples/13-stencil/stencil.cpp @@ -3,6 +3,9 @@ * License: http://www.opensource.org/licenses/BSD-2-Clause */ +#include +#include + #include "common.h" #include @@ -12,9 +15,6 @@ #include "fpumath.h" #include "imgui/imgui.h" -#include -#include - #define RENDER_VIEWID_RANGE1_PASS_0 1 #define RENDER_VIEWID_RANGE1_PASS_1 2 #define RENDER_VIEWID_RANGE1_PASS_2 3 diff --git a/examples/common/entry/input.cpp b/examples/common/entry/input.cpp index dccbd815..5abc8ea2 100644 --- a/examples/common/entry/input.cpp +++ b/examples/common/entry/input.cpp @@ -3,13 +3,13 @@ * License: http://www.opensource.org/licenses/BSD-2-Clause */ -#include "entry_p.h" -#include "input.h" - #include #include #include +#include "entry_p.h" +#include "input.h" + struct Mouse { Mouse()