Fixed GLES3 build.

This commit is contained in:
Branimir Karadžić 2014-02-19 21:22:22 -08:00
parent f554176645
commit 3ca0d8312a

View file

@ -40,11 +40,11 @@
# endif // BGFX_CONFIG_RENDERER_OPENGL >= 31
#elif BGFX_CONFIG_RENDERER_OPENGLES2 || BGFX_CONFIG_RENDERER_OPENGLES3
typedef double GLdouble;
# if BGFX_CONFIG_RENDERER_OPENGLES2
# if BX_PLATFORM_IOS
# include <OpenGLES/ES2/gl.h>
# include <OpenGLES/ES2/glext.h>
typedef double GLdouble;
//#define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6
#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368
#define GL_TEXTURE_3D_OES 0x806F