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 4887d80..49e3014 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);