Added defines: GL_ALPHA4/8/12/16 in osg/Image, this will fix compilation error while building for GLES2

This commit is contained in:
Konstantin S. Matveyev
2017-10-06 17:37:50 +03:00
parent 4bc1320709
commit 1e1f69febc

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