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

This commit is contained in:
Eric Anholt
2009-08-03 12:38:56 -07:00
parent 40990d9dfb
commit a9ba1bfeb3
+1 -1
View File
@@ -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;