mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 22:08:26 +02:00
r600g: fix int->bool conversion in fence_signalled
NOTE: This is a candidate for the stable branches.
(cherry picked from commit 9f0ddbc9e4)
This commit is contained in:
parent
439842e434
commit
cd95b67347
1 changed files with 1 additions and 1 deletions
|
|
@ -725,7 +725,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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue