summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_render.c
diff options
context:
space:
mode:
authorAapo Tahkola <aet@rasterburn.org>2005-03-18 14:44:27 +0000
committerAapo Tahkola <aet@rasterburn.org>2005-03-18 14:44:27 +0000
commit6bd390743da6e01410f3fc124d79956629e2a6f2 (patch)
tree0ebe32a26233b0cd84187158d85cca802bb7fa42 /src/mesa/drivers/dri/r300/r300_render.c
parent2fb2e27e28569371bd0d12aa74504d53bb04edc0 (diff)
Misc fixes.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_render.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_render.c b/src/mesa/drivers/dri/r300/r300_render.c
index b855c81673..894d3d1b90 100644
--- a/src/mesa/drivers/dri/r300/r300_render.c
+++ b/src/mesa/drivers/dri/r300/r300_render.c
@@ -759,7 +759,7 @@ static void r300_check_tcl_render(GLcontext *ctx, struct tnl_pipeline_stage *sta
stage->active = GL_FALSE;
return;
}
- if((r300->current_vp != NULL) && ctx->VertexProgram._Enabled) {
+ if(VERTPROG_ACTIVE(ctx)) {
stage->active = GL_TRUE;
stage->inputs = ctx->VertexProgram.Current->InputsRead;
} else {