mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
gallium: added braces to silence warning
This commit is contained in:
parent
0df877a0ee
commit
9f50a6a24c
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue