summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_pointtemp.h
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2006-12-13 15:05:23 -0700
committerBrian <brian@yutani.localnet.net>2006-12-13 15:05:23 -0700
commit12ef1fbefcee964b715783d3ade6b69b2c699ed8 (patch)
tree4daf73a2c8aec72103b064c48b98c34a249771a6 /src/mesa/swrast/s_pointtemp.h
parenta328e469d328f8b6fd5afdfc21d576fa1a2c43fc (diff)
Checkpoint for GLSL compiler changes.
In brief: Check for enabled fragment program by looking at ctx->FragmentProgram._Current. New code for varying variables.
Diffstat (limited to 'src/mesa/swrast/s_pointtemp.h')
-rw-r--r--src/mesa/swrast/s_pointtemp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_pointtemp.h b/src/mesa/swrast/s_pointtemp.h
index 6316833a68..b41776b017 100644
--- a/src/mesa/swrast/s_pointtemp.h
+++ b/src/mesa/swrast/s_pointtemp.h
@@ -120,7 +120,7 @@ NAME ( GLcontext *ctx, const SWvertex *vert )
#endif
#if FLAGS & TEXTURE
span->arrayMask |= (SPAN_TEXTURE | SPAN_LAMBDA);
- if (ctx->FragmentProgram._Active) {
+ if (ctx->FragmentProgram._Current) {
/* Don't divide texture s,t,r by q (use TXP to do that) */
for (u = 0; u < ctx->Const.MaxTextureUnits; u++) {
if (ctx->Texture._EnabledCoordUnits & (1 << u)) {