From: Mrc Gran Date: Wed, 10 Oct 2007 15:15:42 +0000 (-0600) Subject: fix force_s3tc_enable option X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de3073d377ee3a0c58fec4b1611cbf893a543c5b;p=mesa.git fix force_s3tc_enable option --- diff --git a/src/mesa/drivers/dri/i965/intel_context.c b/src/mesa/drivers/dri/i965/intel_context.c index 2cf311c7135..7ec316aa8ae 100644 --- a/src/mesa/drivers/dri/i965/intel_context.c +++ b/src/mesa/drivers/dri/i965/intel_context.c @@ -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" ); }