summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-10-16 22:02:33 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-10-16 22:02:33 +0000
commitd40f20aebc6f9995b9fdb70cd5123b0c28d45589 (patch)
tree7b9870e66112f1e4a0097ea254eadf67a2746a28 /src/mesa/drivers
parent16345022de1f443c7746f9f735bb495415e7a5ff (diff)
Init _UseTexEnvProgram to fix failed assertion in i915_render_start() - this may be temporary
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i915/i915_context.c1
1 files changed, 1 insertions, 0 deletions
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 );