mesa: Do not advertise GL_OES_texture_3D.
authorChia-I Wu <olv@lunarg.com>
Wed, 8 Dec 2010 14:33:07 +0000 (22:33 +0800)
committerChia-I Wu <olv@lunarg.com>
Wed, 8 Dec 2010 14:35:40 +0000 (22:35 +0800)
GL_OES_texture_3D has a GLSL counterpart.  Since it is not implemented,
GL_OES_texture_3D should not be advertised.

src/mesa/main/extensions.c

index 3d5830c..b71afdd 100644 (file)
@@ -873,8 +873,12 @@ make_extension_string_es2(const struct gl_context *ctx, GLubyte *str)
    if (ctx->Extensions.ARB_vertex_buffer_object)
       len += append_extension(&str, "GL_OES_mapbuffer");
 
+#if 0
+   /* disabled because of missing GLSL support */
    if (ctx->Extensions.EXT_texture3D)
       len += append_extension(&str, "GL_OES_texture_3D");
+#endif
+
    if (ctx->Extensions.ARB_texture_non_power_of_two)
       len += append_extension(&str, "GL_OES_texture_npot");
    if (ctx->Extensions.EXT_texture_filter_anisotropic)