summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-07-05 11:56:40 -0700
committerCorbin Simpson <[email protected]>2009-07-05 11:56:40 -0700
commit645bfa32c9b330f7f4dba1126604b7ddb28f9dce (patch)
tree44f3d20d2380d8cb5b9665fa026ee208b81d4530
parentc8e0d55ac6e7fcb778a8e884e27b84dba10fa5db (diff)
radeon-gallium: Compile warning fix.
Fixes flush during validation, in case a buffer is double-validated.
-rw-r--r--src/gallium/winsys/drm/radeon/core/radeon_r300.c2
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 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;
}
}