gallium: added braces to silence warning
authorBrian <brian.paul@tungstengraphics.com>
Tue, 18 Mar 2008 23:19:57 +0000 (17:19 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 18 Mar 2008 23:19:57 +0000 (17:19 -0600)
src/gallium/auxiliary/draw/draw_prim.c

index 888fa536ea3b69b3f5b5b21a1d624dbc5368d8ab..cb0277fb6c92b6f6074fb008d8a7d9b28e0eea08 100644 (file)
@@ -169,11 +169,12 @@ void draw_do_flush( struct draw_context *draw, unsigned flags )
       flushing = TRUE;
 
    if (flags >= DRAW_FLUSH_SHADER_QUEUE) {
-      if (draw->vs.queue_nr)
+      if (draw->vs.queue_nr) {
          if (draw->rasterizer->bypass_vs)
             fetch_and_store(draw);
          else
             (*draw->shader_queue_flush)(draw);
+      }
 
       if (flags >= DRAW_FLUSH_PRIM_QUEUE) {
         if (draw->pq.queue_nr)