From 790734045b69c47b1525fbf9106a7ca5a8eb7416 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 5 Jan 2004 09:43:42 +0000 Subject: Re-commit t_vertex.[ch] changes to fd.o server. --- src/mesa/tnl/t_pipeline.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/tnl/t_pipeline.c') diff --git a/src/mesa/tnl/t_pipeline.c b/src/mesa/tnl/t_pipeline.c index bfb8996c8d..37ec84a06f 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; -- cgit v1.2.3