diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-10-16 22:02:33 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-10-16 22:02:33 +0000 |
commit | d40f20aebc6f9995b9fdb70cd5123b0c28d45589 (patch) | |
tree | 7b9870e66112f1e4a0097ea254eadf67a2746a28 /src/mesa/drivers/dri/i915 | |
parent | 16345022de1f443c7746f9f735bb495415e7a5ff (diff) |
Init _UseTexEnvProgram to fix failed assertion in i915_render_start() - this may be temporary
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_context.c | 1 |
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 ); |