Working on improving the cross compiler

This commit is contained in:
2021-08-19 16:38:27 -07:00
parent 7f80cb0fa0
commit bf3f942e24
7 changed files with 500 additions and 260 deletions

View File

@ -11,26 +11,21 @@
// Static Libs
#include <cglm/cglm.h>
#if SETTING_USE_GLAD == 1
#if SETTING_PLATFORM_USE_GLAD == 1
#include <glad/glad.h>
#else
#include <GL/gl.h>
#endif
#if SETTING_PLATFORM == SETTING_PLATFORM_GLFW
#include <GLFW/glfw3.h>
#elif SETTING_PLATFORM == SETTING_PLATFORM_SDL
#include <SDL2/SDL.h>
#include <SDL2/SDL_opengl.h>
#include <SDL2/SDL_opengles2.h>
#include "SDL.h"
#include "SDL_opengl.h"
#elif SETTING_PLATFORM == SETTING_PLATFORM_GBM
#include <xf86drm.h>
#include <xf86drmMode.h>
#include <gbm.h>
#define GL_GLEXT_PROTOTYPES 1
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
#endif
#include <stb_image.h>