projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3004d9
)
r300g: remove pointless "while"
author
Marek Olšák
<maraeo@gmail.com>
Fri, 26 Feb 2010 21:34:09 +0000
(22:34 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Sat, 27 Feb 2010 17:37:44 +0000
(18:37 +0100)
src/gallium/drivers/r300/r300_render.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_render.c
b/src/gallium/drivers/r300/r300_render.c
index ec72d6c3b52ecb23d426f32c6bc5aa86df7f86ac..d604bfb7d75f86c4cfe6d24a938472515a1e12f8 100644
(file)
--- 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;
}