projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67c995e
)
winsys/radeon: fix int->boolean conversion in radeon_bo_is_referenced_by_any_cs
author
Marek Olšák
<maraeo@gmail.com>
Fri, 22 Jul 2011 17:22:50 +0000
(19:22 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Mon, 25 Jul 2011 21:10:40 +0000
(23:10 +0200)
src/gallium/winsys/radeon/drm/radeon_drm_cs.h
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/radeon/drm/radeon_drm_cs.h
b/src/gallium/winsys/radeon/drm/radeon_drm_cs.h
index b8b170adcbe0d9fdd0ee1dc131a81be0bcce77d4..ea2a820b30a0d560b073c31caedc5ca7665cc36c 100644
(file)
--- a/
src/gallium/winsys/radeon/drm/radeon_drm_cs.h
+++ b/
src/gallium/winsys/radeon/drm/radeon_drm_cs.h
@@
-112,7
+112,7
@@
radeon_bo_is_referenced_by_cs_for_write(struct radeon_drm_cs *cs,
static INLINE boolean
radeon_bo_is_referenced_by_any_cs(struct radeon_bo *bo)
{
- return bo->num_cs_references;
+ return bo->num_cs_references
!= 0
;
}
void radeon_drm_cs_sync_flush(struct radeon_drm_cs *cs);