From: Brian Paul Date: Mon, 28 Aug 2006 15:16:36 +0000 (+0000) Subject: fix the check for force_s3tc_enable (bug 8042) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e365b82be110246b8c05193efc8479e681f618f3;p=mesa.git fix the check for force_s3tc_enable (bug 8042) --- diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index 6597a71047e..880e4ba3077 100644 --- a/src/mesa/drivers/dri/i915/intel_context.c +++ b/src/mesa/drivers/dri/i915/intel_context.c @@ -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" ); }