texenv: Use VP->Current, since _Current isn't updated at this point.

(cherry picked from master, commit a9ba1bfeb3)
This commit is contained in:
Brian Paul 2009-08-04 09:15:33 -06:00
parent f0df08abbe
commit 2bec909c69

View file

@ -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;