mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-26 15:30:40 +02:00
r300g: remove pointless "while"
This commit is contained in:
parent
d3004d9156
commit
dba7ad8953
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue