From e365b82be110246b8c05193efc8479e681f618f3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 28 Aug 2006 15:16:36 +0000 Subject: fix the check for force_s3tc_enable (bug 8042) --- src/mesa/drivers/dri/i915/intel_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers') 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" ); } -- cgit v1.2.3