Mesa (master): texenv: Use VP->Current, since _Current isn' t updated at this point.
Eric Anholt
anholt at kemper.freedesktop.org
Mon Aug 3 19:59:44 UTC 2009
Module: Mesa
Branch: master
Commit: a9ba1bfeb3a2852c6eda718e73c46c972a286648
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9ba1bfeb3a2852c6eda718e73c46c972a286648
Author: Eric Anholt <eric at anholt.net>
Date: Mon Aug 3 12:38:56 2009 -0700
texenv: Use VP->Current, since _Current isn't updated at this point.
---
src/mesa/main/texenvprogram.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c
index 2eefae8..1ee78ff 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;
More information about the mesa-commit
mailing list