Mesa (7.9): mesa: Do not advertise GL_OES_texture_3D.
Ian Romanick
idr at kemper.freedesktop.org
Mon Dec 27 21:33:18 UTC 2010
Module: Mesa
Branch: 7.9
Commit: 47552b2c66703ce8351312ac051bc51bce283935
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=47552b2c66703ce8351312ac051bc51bce283935
Author: Chia-I Wu <olv at lunarg.com>
Date: Wed Dec 8 22:33:07 2010 +0800
mesa: Do not advertise GL_OES_texture_3D.
GL_OES_texture_3D has a GLSL counterpart. Since it is not implemented,
GL_OES_texture_3D should not be advertised.
(cherry picked from commit d2028ba33967b3ce3de94b0837c9faf06f1c2b94)
---
src/mesa/main/extensions.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index 5073fab..a146b94 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -883,8 +883,12 @@ make_extension_string_es2(const GLcontext *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)
More information about the mesa-commit
mailing list