summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_pipeline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/tnl/t_pipeline.c')
-rw-r--r--src/mesa/tnl/t_pipeline.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_pipeline.c b/src/mesa/tnl/t_pipeline.c
index bfb8996c8db..37ec84a06f4 100644
--- a/src/mesa/tnl/t_pipeline.c
+++ b/src/mesa/tnl/t_pipeline.c
@@ -127,6 +127,9 @@ void _tnl_run_pipeline( GLcontext *ctx )
unsigned short __tmp;
#endif
+ if (!tnl->vb.Count)
+ return;
+
pipe->run_state_changes = 0;
pipe->run_input_changes = 0;