Cell: If flushing for swapbuffers, wait for frame completion

This commit is contained in:
Brian
2008-01-28 09:57:51 -07:00
committed by Ben Skeggs
parent 87c8f9c583
commit 4f0906a18a
+3
View File
@@ -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);
}