diff options
author | Corbin Simpson <[email protected]> | 2009-07-05 11:56:40 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-07-05 11:56:40 -0700 |
commit | 645bfa32c9b330f7f4dba1126604b7ddb28f9dce (patch) | |
tree | 44f3d20d2380d8cb5b9665fa026ee208b81d4530 /src/gallium/winsys/drm | |
parent | c8e0d55ac6e7fcb778a8e884e27b84dba10fa5db (diff) |
radeon-gallium: Compile warning fix.
Fixes flush during validation, in case a buffer is double-validated.
Diffstat (limited to 'src/gallium/winsys/drm')
-rw-r--r-- | 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 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; } } |