aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texenvprogram.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2009-08-03 12:38:56 -0700
committerEric Anholt <[email protected]>2009-08-03 12:54:41 -0700
commita9ba1bfeb3a2852c6eda718e73c46c972a286648 (patch)
treede10058181b66b0b61dacb6518d722e73e827219 /src/mesa/main/texenvprogram.c
parent40990d9dfb20b69585859b2a45596aa46c20140a (diff)
texenv: Use VP->Current, since _Current isn't updated at this point.
Diffstat (limited to 'src/mesa/main/texenvprogram.c')
-rw-r--r--src/mesa/main/texenvprogram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c
index 2eefae82558..1ee78ffa16e 100644
--- a/src/mesa/main/texenvprogram.c
+++ b/src/mesa/main/texenvprogram.c
@@ -341,7 +341,7 @@ static GLbitfield get_fp_input_mask( GLcontext *ctx )
if (vertexShader)
vprog = ctx->Shader.CurrentProgram->VertexProgram;
else
- vprog = ctx->VertexProgram._Current;
+ vprog = ctx->VertexProgram.Current;
vp_outputs = vprog->Base.OutputsWritten;