i915tex compile fix (account for moved _UseTexEnvProgram var)
authorRoland Scheidegger <sroland@tungstengraphics.com>
Tue, 27 Mar 2007 20:57:22 +0000 (22:57 +0200)
committerRoland Scheidegger <sroland@tungstengraphics.com>
Tue, 27 Mar 2007 20:57:22 +0000 (22:57 +0200)
src/mesa/drivers/dri/i915tex/i915_context.c

index 4887d80e19158dbdd282ed0fff1f45f734a6b3ff..49e30141e4343fa7b32fb2ac784c36d8e22cf41a 100644 (file)
@@ -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);