summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-08-04 09:15:33 -0600
committerBrian Paul <brianp@vmware.com>2009-08-04 09:15:33 -0600
commit2bec909c69c127b4a29eedfcafed9f5f2e23c51e (patch)
treea493ac1e291700ab6e937d3d3dbf974dd6649cc6 /src
parentf0df08abbec173be183d3d6ecf3d4ba5206df179 (diff)
texenv: Use VP->Current, since _Current isn't updated at this point.
(cherry picked from master, commit a9ba1bfeb3a2852c6eda718e73c46c972a286648)
Diffstat (limited to 'src')
-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 8229de4c47..3ff30058ec 100644
--- a/src/mesa/main/texenvprogram.c
+++ b/src/mesa/main/texenvprogram.c
@@ -329,7 +329,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;