diff options
author | Marek Olšák <[email protected]> | 2013-01-04 12:40:04 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-01-04 12:42:03 +0100 |
commit | 9f0ddbc9e4b44f165c96841fe32ebc66c68d2709 (patch) | |
tree | ad3e779ccd2778602d6788c05f5e39ca376754c1 /src | |
parent | b8b1d61e764a83c128787faa639ba2fc4604722f (diff) |
r600g: fix int->bool conversion in fence_signalled
NOTE: This is a candidate for the stable branches.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 65dcbf8a5e9..83d474b04cc 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -758,7 +758,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, |