mirror of https://github.com/xemu-project/xemu.git
gloffscreen.h: Remove platform-specific includes
This commit is contained in:
parent
a6cd0c2110
commit
3451fdb8c0
|
@ -30,18 +30,8 @@
|
||||||
#define GLOFFSCREEN_H_
|
#define GLOFFSCREEN_H_
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include <epoxy/gl.h>
|
#include <epoxy/gl.h>
|
||||||
|
|
||||||
#if defined(__APPLE__) /* macOS-Specific GL Includes */
|
|
||||||
#include <OpenGL/OpenGL.h>
|
|
||||||
#include <OpenGL/glext.h>
|
|
||||||
#elif defined(_WIN32) /* Windows-Specific GL Includes */
|
|
||||||
#include <epoxy/wgl.h>
|
|
||||||
#else /* Assume GLX */
|
|
||||||
#include <epoxy/glx.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Used to hold data for the OpenGL context */
|
/* Used to hold data for the OpenGL context */
|
||||||
struct _GloContext;
|
struct _GloContext;
|
||||||
typedef struct _GloContext GloContext;
|
typedef struct _GloContext GloContext;
|
||||||
|
|
Loading…
Reference in New Issue