]> git.lizzy.rs Git - shadowclad.git/commitdiff
Format header includes
authoroutfrost <kotlet.bahn@gmail.com>
Tue, 13 Nov 2018 02:00:18 +0000 (03:00 +0100)
committeroutfrost <kotlet.bahn@gmail.com>
Tue, 13 Nov 2018 02:04:13 +0000 (03:04 +0100)
debugutil.c
debugutil.h
level.c
tga.c

index 191bb4b19159012580eb33283072709dc68d4e49..1f1e8988e0e7454019a40c5f483df92cf5df881b 100644 (file)
@@ -1,8 +1,9 @@
 #include <GL/gl.h>
+#include <assimp/scene.h>
+
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
-#include <assimp/scene.h>
 
 char* getGlInfoString() {
        const char* glVersion = (const char*) glGetString(GL_VERSION);
index 7099d684b56b8f63580ee17cec5dd0bd1455ec02..cb82be9a688ca903bccd24ca1abbb92c9f96d9ab 100644 (file)
@@ -1,9 +1,10 @@
 #ifndef DEBUGUTIL_H_
 #define DEBUGUTIL_H_
 
-#include <stdio.h>
 #include <assimp/scene.h>
 
+#include <stdio.h>
+
 char* getGlInfoString();
 void dumpScene(FILE* stream, const struct aiScene* scene);
 void dumpNode(FILE* stream, const struct aiNode* node);
diff --git a/level.c b/level.c
index 2c9dba2fc03dc7c43c253f5a4b3dcc805ca00a9e..29bee2ca62f4b95251a47161639331b5c74194ad 100644 (file)
--- a/level.c
+++ b/level.c
@@ -1,9 +1,10 @@
 #include <GL/gl.h>
-#include <stdlib.h>
-#include <stdio.h> // TODO remove
 #include <assimp/cimport.h>
 #include <assimp/scene.h>
 
+#include <stdlib.h>
+#include <stdio.h> // TODO remove
+
 #include "level.h"
 #include "tga.h"
 
diff --git a/tga.c b/tga.c
index cbc8bba3ef64209999133e2670986cdf4745f7a0..d53586c4bdae0673bba282ce2924c4c8170a461c 100644 (file)
--- a/tga.c
+++ b/tga.c
@@ -1,4 +1,5 @@
 #include <GL/gl.h>
+
 #include <stdlib.h>
 #include <stdio.h>