medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 5fc121bf81d1b74643566d7c0207c8245a7e836d
parent 2c0c0062e16a06ef9902c5ca3c16167f58cd9741
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Fri Dec 30 12:50:42 +0200

Fix MSVC warnings

Diffstat:
gl.cc | 8++++----
main.cc | 6+++---
profiler.cc | 4++--
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/gl.cc b/gl.cc @@ -1,15 +1,15 @@ #include <stdlib.h> #include <string.h> +#include "game.h" +#include "log.h" +#include "gl.h" + #include "glad.h" #define GLFW_INCLUDE_NONE #include <GLFW/glfw3.h> -#include "game.h" -#include "log.h" -#include "gl.h" - #define RESET "\x1b[0m" #define RED "\x1b[1;31m" #define YELLOW "\x1b[1;32m" diff --git a/main.cc b/main.cc @@ -6,9 +6,6 @@ #include <xmmintrin.h> #include <pmmintrin.h> -#define GLFW_INCLUDE_NONE -#include <GLFW/glfw3.h> - #include "game.h" #include "log.h" #include "intrinsics.h" @@ -18,6 +15,9 @@ #include "text_renderer.h" #include "platform_library.h" +#define GLFW_INCLUDE_NONE +#include <GLFW/glfw3.h> + struct Game { Library lib; GameInit * init; diff --git a/profiler.cc b/profiler.cc @@ -1,7 +1,5 @@ #include <stdio.h> -#include <GLFW/glfw3.h> - #include "intrinsics.h" #include "profiler.h" #include "stats.h" @@ -9,6 +7,8 @@ #include "strlcpy.h" #include "log.h" +#include <GLFW/glfw3.h> + struct Timer { const char * name; const char * file;