diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-03-18 17:19:57 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-03-18 17:19:57 -0600 |
commit | 9f50a6a24c922926904c215249c3a0426dd433aa (patch) | |
tree | 3d1e515d6a741bc82a31af9778f992829438dac7 /src/gallium/auxiliary/draw | |
parent | 0df877a0ee68359d106ba84e3dd3b7c42ae20d5a (diff) |
gallium: added braces to silence warning
Diffstat (limited to 'src/gallium/auxiliary/draw')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_prim.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_prim.c b/src/gallium/auxiliary/draw/draw_prim.c index 888fa536ea..cb0277fb6c 100644 --- a/src/gallium/auxiliary/draw/draw_prim.c +++ b/src/gallium/auxiliary/draw/draw_prim.c @@ -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) |