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:
commit
d74e340f32
@ -68,6 +68,10 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(OSG_GLES1_AVAILABLE) || defined(OSG_GLES2_AVAILABLE) || defined(OSG_GLES3_AVAILABLE) || defined(OSG_GL3_AVAILABLE)
|
#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_BITMAP 0x1A00
|
||||||
#define GL_COLOR_INDEX 0x1900
|
#define GL_COLOR_INDEX 0x1900
|
||||||
#define GL_INTENSITY12 0x804C
|
#define GL_INTENSITY12 0x804C
|
||||||
|
Loading…
Reference in New Issue
Block a user