gloffscreen.h: Remove platform-specific includes

This commit is contained in:
Matt Borgerson 2022-05-17 16:08:37 -07:00 committed by mborgerson
parent a6cd0c2110
commit 3451fdb8c0

View File

@ -30,18 +30,8 @@
#define GLOFFSCREEN_H_
#include <stdbool.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 */
struct _GloContext;
typedef struct _GloContext GloContext;