projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96abc6b
)
use ctx->VertexProgram._Current instead of ctx->VertexProgram._Enabled
author
Brian
<brian@yutani.localnet.net>
Thu, 22 Feb 2007 16:10:24 +0000
(09:10 -0700)
committer
Brian
<brian@yutani.localnet.net>
Thu, 22 Feb 2007 16:10:24 +0000
(09:10 -0700)
src/mesa/vbo/vbo_context.h
patch
|
blob
|
history
diff --git
a/src/mesa/vbo/vbo_context.h
b/src/mesa/vbo/vbo_context.h
index 0dc1019b39fc3e5110ed01279b44f7d394328130..013f81bdd5c8b891cc59d08f91e978f7173e5f11 100644
(file)
--- a/
src/mesa/vbo/vbo_context.h
+++ b/
src/mesa/vbo/vbo_context.h
@@
-96,9
+96,9
@@
enum {
static INLINE GLuint get_program_mode( GLcontext *ctx )
{
- if (!ctx->VertexProgram._
Enabled
)
+ if (!ctx->VertexProgram._
Current
)
return VP_NONE;
- else if (ctx->VertexProgram.Current->IsNVProgram)
+ else if (ctx->VertexProgram.
_
Current->IsNVProgram)
return VP_NV;
else
return VP_ARB;