fix force_s3tc_enable option
authorMrc Gran <mrc.gran@gmail.com>
Wed, 10 Oct 2007 15:15:42 +0000 (09:15 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 10 Oct 2007 15:15:42 +0000 (09:15 -0600)
src/mesa/drivers/dri/i965/intel_context.c

index 2cf311c..7ec316a 100644 (file)
@@ -498,7 +498,7 @@ GLboolean intelInitContext( struct intel_context *intel,
       _mesa_enable_extension( ctx, "GL_EXT_texture_compression_s3tc" );
       _mesa_enable_extension( ctx, "GL_S3_s3tc" );
    }
-   else if (driQueryOptionb (&intelScreen->optionCache, "force_s3tc_enable")) {
+   else if (driQueryOptionb (&intel->optionCache, "force_s3tc_enable")) {
       _mesa_enable_extension( ctx, "GL_EXT_texture_compression_s3tc" );
    }