diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-01-28 09:57:51 -0700 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-02-15 13:50:23 +1100 |
commit | 4f0906a18a0067d7e16c4fc7602dfb280e60f420 (patch) | |
tree | 857675de64c50fa4da9b551537575f0757f00b7b /src/mesa | |
parent | 87c8f9c5834b7345615257d0faf5200f191e8eca (diff) |
Cell: If flushing for swapbuffers, wait for frame completion
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/pipe/cell/ppu/cell_flush.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/pipe/cell/ppu/cell_flush.c b/src/mesa/pipe/cell/ppu/cell_flush.c index b98bb566b1..cf4e676645 100644 --- a/src/mesa/pipe/cell/ppu/cell_flush.c +++ b/src/mesa/pipe/cell/ppu/cell_flush.c @@ -39,6 +39,9 @@ cell_flush(struct pipe_context *pipe, unsigned flags) { struct cell_context *cell = cell_context(pipe); + if (flags & PIPE_FLUSH_SWAPBUFFERS) + flags |= PIPE_FLUSH_WAIT; + draw_flush( cell->draw ); cell_flush_int(pipe, flags); } |