reorder includes
This commit is contained in:
+2
-3
@@ -1,11 +1,10 @@
|
||||
#include <GLFW/glfw3.h>
|
||||
#include <glad/gl.h>
|
||||
#include <linmath.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <glad/gl.h>
|
||||
#include <linmath.h>
|
||||
|
||||
#include "file.h"
|
||||
#include "shaders.h"
|
||||
#include "types.h"
|
||||
|
||||
+2
-3
@@ -1,8 +1,7 @@
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <glad/gl.h>
|
||||
#include <linmath.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "constants.h"
|
||||
#include "types.h"
|
||||
|
||||
+1
-4
@@ -1,16 +1,13 @@
|
||||
#include <GLFW/glfw3.h>
|
||||
#include <linmath.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <linmath.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "types.h"
|
||||
|
||||
#ifndef GLAD_GL_IMPLEMENTATION
|
||||
#define GLAD_GL_IMPLEMENTATION
|
||||
#include <glad/gl.h>
|
||||
#endif
|
||||
|
||||
// TODO split into smaller functions
|
||||
// TODO custom struct to remove glfw in signature
|
||||
|
||||
Reference in New Issue
Block a user