projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26b1c97
)
Use ctx->VertexProgram._Current .
author
Aapo Tahkola
<aet@rasterburn.org>
Wed, 2 Nov 2005 14:12:52 +0000
(14:12 +0000)
committer
Aapo Tahkola
<aet@rasterburn.org>
Wed, 2 Nov 2005 14:12:52 +0000
(14:12 +0000)
src/mesa/drivers/dri/r300/r300_context.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_context.h
b/src/mesa/drivers/dri/r300/r300_context.h
index 2ceee563d1642ffbae7a56e1318b872aed2db7af..c35fd1e634bf454c120d7441b01b388134f8bd3b 100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_context.h
+++ b/
src/mesa/drivers/dri/r300/r300_context.h
@@
-580,7
+580,7
@@
struct r300_vertex_shader_state {
extern int hw_tcl_on;
-#define CURRENT_VERTEX_SHADER(ctx) (ctx->VertexProgram._
Enabled ? ctx->VertexProgram.Current : ctx->_TnlProgram
)
+#define CURRENT_VERTEX_SHADER(ctx) (ctx->VertexProgram._
Current
)
//#define TMU_ENABLED(ctx, unit) (hw_tcl_on ? ctx->Texture.Unit[unit]._ReallyEnabled && (OutputsWritten & (1<<(VERT_RESULT_TEX0+(unit)))) :
// (r300->state.render_inputs & (_TNL_BIT_TEX0<<(unit))))