diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-09-21 23:52:46 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-09-21 23:52:46 +0900 |
commit | 381b0be21439c85ee5810ff25a4c2f1cc97a3ca0 (patch) | |
tree | 53a2ab932adad4940a29edc9e042464a554148a4 /gtk/pacc-gl-inc.h | |
parent | 62fad242f6d0e7c0b2dacc97668be04ddc427385 (diff) |
gtk: added pacc gl header
Diffstat (limited to 'gtk/pacc-gl-inc.h')
-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 |