summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-11-18 11:51:20 -0500
committerAlex Deucher <alexdeucher@gmail.com>2009-11-18 11:51:20 -0500
commitfe5c46546e740a16a13fe9e8aaa4b071bc13d70b (patch)
tree22b1dbb2018bb88d6589ed4d3becee45a657bc94
parentc5add6a46899b87b3f338288cf9744160cf7c464 (diff)
downloadexternal_mesa3d-fe5c46546e740a16a13fe9e8aaa4b071bc13d70b.zip
external_mesa3d-fe5c46546e740a16a13fe9e8aaa4b071bc13d70b.tar.gz
external_mesa3d-fe5c46546e740a16a13fe9e8aaa4b071bc13d70b.tar.bz2
r600: disable compressed texture support
It's not implemented yet. fixes fdo bug 24047
-rw-r--r--src/mesa/drivers/dri/r600/r600_context.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r600/r600_context.c b/src/mesa/drivers/dri/r600/r600_context.c
index e0b77d4..8dab57b 100644
--- a/src/mesa/drivers/dri/r600/r600_context.c
+++ b/src/mesa/drivers/dri/r600/r600_context.c
@@ -362,6 +362,7 @@ GLboolean r600CreateContext(const __GLcontextModes * glVisual,
(&r600->radeon.optionCache, "disable_stencil_two_side"))
_mesa_disable_extension(ctx, "GL_EXT_stencil_two_side");
+#if 0
if (r600->radeon.glCtx->Mesa_DXTn
&& !driQueryOptionb(&r600->radeon.optionCache, "disable_s3tc")) {
_mesa_enable_extension(ctx, "GL_EXT_texture_compression_s3tc");
@@ -371,6 +372,9 @@ GLboolean r600CreateContext(const __GLcontextModes * glVisual,
{
_mesa_enable_extension(ctx, "GL_EXT_texture_compression_s3tc");
}
+#else
+ _mesa_disable_extension(ctx, "GL_ARB_texture_compression");
+#endif
radeon_fbo_init(&r600->radeon);
radeonInitSpanFuncs( ctx );