From 645bfa32c9b330f7f4dba1126604b7ddb28f9dce Mon Sep 17 00:00:00 2001 From: Corbin Simpson Date: Sun, 5 Jul 2009 11:56:40 -0700 Subject: radeon-gallium: Compile warning fix. Fixes flush during validation, in case a buffer is double-validated. --- src/gallium/winsys/drm/radeon/core/radeon_r300.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/winsys/drm/radeon/core/radeon_r300.c b/src/gallium/winsys/drm/radeon/core/radeon_r300.c index 63aa3179ac..8c5f756ddf 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; } } -- cgit v1.2.3