Managing to get GBM working
This commit is contained in:
@ -17,9 +17,19 @@
|
||||
|
||||
#if SETTING_PLATFORM == SETTING_PLATFORM_GLFW
|
||||
#elif SETTING_PLATFORM == SETTING_PLATFORM_SDL
|
||||
#include <SDL.h>
|
||||
#include <SDL_opengl.h>
|
||||
#include <SDL_opengles2.h>
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_opengl.h>
|
||||
#include <SDL2/SDL_opengles2.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