r600: disable compressed texture support
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 18 Nov 2009 16:51:20 +0000 (11:51 -0500)
committerAlex Deucher <alexdeucher@gmail.com>
Wed, 18 Nov 2009 16:51:20 +0000 (11:51 -0500)
It's not implemented yet.  fixes fdo bug 24047

src/mesa/drivers/dri/r600/r600_context.c

index e0b77d43850201c64e14c338fbf04a78cb2246fd..8dab57b43398b65b5ceeaf0366d381396cf1a36b 100644 (file)
@@ -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 );