From 1c38c276c8cd1c56907787c2a4f6c9e109409fff Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Mon, 1 Feb 2010 18:24:52 -0800 Subject: implement [2396050] Add ETC1 texture support to AGL --- include/private/opengles/gl_context.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/private/opengles/gl_context.h b/include/private/opengles/gl_context.h index 26cde38..e0deba9 100644 --- a/include/private/opengles/gl_context.h +++ b/include/private/opengles/gl_context.h @@ -36,7 +36,12 @@ struct android_native_buffer_t; namespace android { -const unsigned int OGLES_NUM_COMPRESSED_TEXTURE_FORMATS = 10; + +const unsigned int OGLES_NUM_COMPRESSED_TEXTURE_FORMATS = 10 +#ifdef GL_OES_compressed_ETC1_RGB8_texture + + 1 +#endif + ; class EGLTextureObject; class EGLSurfaceManager; -- cgit v1.1