Working on improving the cross compiler
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user