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 2cf311c7135cde56cc3b6e5851e5f95cd897e87b..7ec316aa8ae88c1186a3a6de5e60b97fd4688313 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" );
    }