From 4ad5ebaefa3c5918001a40ed6099521aa0142c95 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Fri, 4 Jan 2013 12:40:33 +0100 Subject: radeonsi: fix int->bool conversion in fence_signalled --- src/gallium/drivers/radeonsi/radeonsi_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3