fixed includes
This commit is contained in:
+5
-1
@@ -1,3 +1,4 @@
|
||||
#include <GLFW/glfw3.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -6,7 +7,10 @@
|
||||
#include "config.h"
|
||||
#include "types.h"
|
||||
|
||||
#include "glfw.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