Merge pull request #359 from eligovision/OpenSceneGraph_gles

Added defines: GL_ALPHA4/8/12/16 in osg/Image, this will fix compilat…
This commit is contained in:
OpenSceneGraph git repository 2017-10-09 10:03:21 +01:00 committed by GitHub
commit d74e340f32

View File

@ -68,6 +68,10 @@
#endif
#if defined(OSG_GLES1_AVAILABLE) || defined(OSG_GLES2_AVAILABLE) || defined(OSG_GLES3_AVAILABLE) || defined(OSG_GL3_AVAILABLE)
#define GL_ALPHA4 0x803B
#define GL_ALPHA8 0x803C
#define GL_ALPHA12 0x803D
#define GL_ALPHA16 0x803E
#define GL_BITMAP 0x1A00
#define GL_COLOR_INDEX 0x1900
#define GL_INTENSITY12 0x804C