From d40f20aebc6f9995b9fdb70cd5123b0c28d45589 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 16 Oct 2006 22:02:33 +0000 Subject: Init _UseTexEnvProgram to fix failed assertion in i915_render_start() - this may be temporary --- src/mesa/drivers/dri/i915/i915_context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i915/i915_context.c b/src/mesa/drivers/dri/i915/i915_context.c index 5e4703d2b0..2f78fd60b2 100644 --- a/src/mesa/drivers/dri/i915/i915_context.c +++ b/src/mesa/drivers/dri/i915/i915_context.c @@ -167,6 +167,7 @@ GLboolean i915CreateContext( const __GLcontextModes *mesaVis, ctx->Const.FragmentProgram.MaxNativeTexIndirections = I915_MAX_TEX_INDIRECT; ctx->Const.FragmentProgram.MaxNativeAddressRegs = 0; /* I don't think we have one */ ctx->_MaintainTexEnvProgram = 1; + ctx->_UseTexEnvProgram = 1; driInitExtensions( ctx, i915_extensions, GL_FALSE ); -- cgit v1.2.3