diff options
author | Aapo Tahkola <[email protected]> | 2005-11-02 14:12:52 +0000 |
---|---|---|
committer | Aapo Tahkola <[email protected]> | 2005-11-02 14:12:52 +0000 |
commit | eda460035e3733b42280905ce162c9b003120e1b (patch) | |
tree | a9eeaaa3289380dd29d05248827d8f9730df9e85 /src/mesa | |
parent | 26b1c97a9dfba05334ecbe7ac312c7ee5b3a554e (diff) |
Use ctx->VertexProgram._Current .
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h index 2ceee563d16..c35fd1e634b 100644 --- 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)))) |