summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2007-03-27 22:57:22 +0200
committerRoland Scheidegger <[email protected]>2007-03-27 22:57:22 +0200
commit811c2e9a91dfc94ec582849bfaa86d7932ac848c (patch)
treed251c130458e559a0a78558b62b4aea63eba32cd
parentcda32360925d84072a69c6fc0bfebbfe07d90ebc (diff)
i915tex compile fix (account for moved _UseTexEnvProgram var)
-rw-r--r--src/mesa/drivers/dri/i915tex/i915_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915tex/i915_context.c b/src/mesa/drivers/dri/i915tex/i915_context.c
index 4887d80e191..49e30141e43 100644
--- a/src/mesa/drivers/dri/i915tex/i915_context.c
+++ b/src/mesa/drivers/dri/i915tex/i915_context.c
@@ -158,7 +158,7 @@ i915CreateContext(const __GLcontextModes * mesaVis,
ctx->Const.FragmentProgram.MaxNativeAddressRegs = 0; /* I don't think we have one */
ctx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE;
- ctx->_UseTexEnvProgram = GL_TRUE;
+ ctx->FragmentProgram._UseTexEnvProgram = GL_TRUE;
driInitExtensions(ctx, i915_extensions, GL_FALSE);