From: Corbin Simpson Date: Sun, 5 Jul 2009 18:56:40 +0000 (-0700) Subject: radeon-gallium: Compile warning fix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=645bfa32c9b330f7f4dba1126604b7ddb28f9dce;p=mesa.git radeon-gallium: Compile warning fix. Fixes flush during validation, in case a buffer is double-validated. --- diff --git a/src/gallium/winsys/drm/radeon/core/radeon_r300.c b/src/gallium/winsys/drm/radeon/core/radeon_r300.c index 63aa3179ac8..8c5f756ddf8 100644 --- a/src/gallium/winsys/drm/radeon/core/radeon_r300.c +++ b/src/gallium/winsys/drm/radeon/core/radeon_r300.c @@ -39,7 +39,7 @@ static boolean radeon_r300_add_buffer(struct r300_winsys* winsys, if (sc[i].bo == bo) { sc[i].read_domains |= rd; sc[i].write_domain |= wd; - return; + return TRUE; } }