diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/pacc-gl-inc.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gtk/pacc-gl-inc.h b/gtk/pacc-gl-inc.h new file mode 100644 index 0000000..44d631e --- /dev/null +++ b/gtk/pacc-gl-inc.h @@ -0,0 +1,15 @@ +#ifdef PACC_GL_ES +# ifdef PACC_GL_3 +#include <GLES3/gl3.h> +# else +#include <GLES2/gl2.h> +# endif +#else +#define GL_GLEXT_PROTOTYPES +# ifdef PACC_GL_3 +#include <GL/glcorearb.h> +# else +#include <GL/gl.h> +#include <GL/glext.h> +# endif +#endif |