diff options
author | Brian <brian@yutani.localnet.net> | 2007-02-23 13:40:13 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-02-23 13:40:13 -0700 |
commit | 064ae479a770bf434958d673baf6f7530f642697 (patch) | |
tree | 9331a6b09260d32604cc2603b9bcf93848aecff0 /src/mesa/drivers/dri/i915tex/i915_context.c | |
parent | 36a0ee199ddc5f29273f9761eeed8e18ad5c874f (diff) |
Update DRI drivers for new glsl compiler.
Mostly:
- update #includes
- update STATE_* token code
Diffstat (limited to 'src/mesa/drivers/dri/i915tex/i915_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i915tex/i915_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915tex/i915_context.c b/src/mesa/drivers/dri/i915tex/i915_context.c index 9b4d72eab3..d4187238f3 100644 --- a/src/mesa/drivers/dri/i915tex/i915_context.c +++ b/src/mesa/drivers/dri/i915tex/i915_context.c @@ -157,8 +157,8 @@ i915CreateContext(const __GLcontextModes * mesaVis, I915_MAX_TEX_INDIRECT; ctx->Const.FragmentProgram.MaxNativeAddressRegs = 0; /* I don't think we have one */ - ctx->_MaintainTexEnvProgram = 1; - ctx->_UseTexEnvProgram = 1; + ctx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE; + /*ctx->_UseTexEnvProgram = 1;*/ driInitExtensions(ctx, i915_extensions, GL_FALSE); |