fix the check for force_s3tc_enable (bug 8042)
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 28 Aug 2006 15:16:36 +0000 (15:16 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 28 Aug 2006 15:16:36 +0000 (15:16 +0000)
src/mesa/drivers/dri/i915/intel_context.c

index 6597a71047e87af6f403d2a8d09b878e73457c34..880e4ba3077d53983d311d629d68ec9a78693de9 100644 (file)
@@ -399,7 +399,7 @@ GLboolean intelInitContext( intelContextPtr 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" );
    }