Module: Mesa Branch: master Commit: 645bfa32c9b330f7f4dba1126604b7ddb28f9dce URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=645bfa32c9b330f7f4dba1126604b7ddb28f9dce
Author: Corbin Simpson <[email protected]> Date: Sun Jul 5 11:56:40 2009 -0700 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 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/winsys/drm/radeon/core/radeon_r300.c b/src/gallium/winsys/drm/radeon/core/radeon_r300.c index 63aa317..8c5f756 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; } } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
