diff options
author | Marek Olšák <[email protected]> | 2010-02-26 22:34:09 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-02-27 18:37:44 +0100 |
commit | dba7ad895333b9b0988239266a217edeebe6a3b3 (patch) | |
tree | 321a0281f921926a9d50201d905c922f76d07011 /src | |
parent | d3004d9156e261d81adcae31d55a4b782433cd6b (diff) |
r300g: remove pointless "while"
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r300/r300_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c index ec72d6c3b52..d604bfb7d75 100644 --- a/src/gallium/drivers/r300/r300_render.c +++ b/src/gallium/drivers/r300/r300_render.c @@ -123,7 +123,7 @@ static uint32_t r300_provoking_vertex_fixes(struct r300_context *r300, static boolean r300_reserve_cs_space(struct r300_context *r300, unsigned dwords) { - while (!r300->winsys->check_cs(r300->winsys, dwords)) { + if (!r300->winsys->check_cs(r300->winsys, dwords)) { r300->context.flush(&r300->context, 0, NULL); return TRUE; } |