diff options
author | Robert Foss <[email protected]> | 2018-11-16 14:53:31 +0100 |
---|---|---|
committer | Robert Foss <[email protected]> | 2018-11-18 12:14:55 +0100 |
commit | 70692adf48d81f1cef15204c08444369eca4987e (patch) | |
tree | 09cf7281a34d74fa33baaa191c106f25e0379871 /src/gallium/drivers | |
parent | c2e3d0f1631b7895530c69c7728d0fc9325ffc1c (diff) |
virgl: Clean up fences commit
Remove a dead variable, a int->bool conversion and some
whitespace changes.
Signed-off-by: Robert Foss <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c index 8addbea9e4c..3d6424e39f6 100644 --- a/src/gallium/drivers/virgl/virgl_screen.c +++ b/src/gallium/drivers/virgl/virgl_screen.c @@ -340,7 +340,7 @@ virgl_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_VIDEO_MEMORY: return 0; case PIPE_CAP_NATIVE_FENCE_FD: - return !!vscreen->vws->supports_fences; + return vscreen->vws->supports_fences; default: return u_pipe_screen_get_param_defaults(screen, param); } |