aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-01-04 12:40:33 +0100
committerMarek Olšák <[email protected]>2013-01-04 12:42:03 +0100
commit4ad5ebaefa3c5918001a40ed6099521aa0142c95 (patch)
treed1e63ccebb07986173dd87adcf62fdd85acb4a01 /src/gallium/drivers
parent9f0ddbc9e4b44f165c96841fe32ebc66c68d2709 (diff)
radeonsi: fix int->bool conversion in fence_signalled
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.c b/src/gallium/drivers/radeonsi/radeonsi_pipe.c
index 4bab97a7473..6eee8825161 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_pipe.c
+++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.c
@@ -545,7 +545,7 @@ static boolean r600_fence_signalled(struct pipe_screen *pscreen,
struct r600_screen *rscreen = (struct r600_screen *)pscreen;
struct r600_fence *rfence = (struct r600_fence*)fence;
- return rscreen->fences.data[rfence->index];
+ return rscreen->fences.data[rfence->index] != 0;
}
static boolean r600_fence_finish(struct pipe_screen *pscreen,