From: Rob Clark Date: Fri, 26 Sep 2014 14:35:33 +0000 (-0400) Subject: freedreno: fix compiler warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e4c678c164fe2530121f9ba5514e1271dd07ac8d;p=mesa.git freedreno: fix compiler warning Signed-off-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 99e6e7172ff..27f72d5ef1d 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -398,6 +398,7 @@ fd_screen_bo_get_handle(struct pipe_screen *pscreen, return TRUE; } else if (whandle->type == DRM_API_HANDLE_TYPE_FD) { whandle->handle = fd_bo_dmabuf(bo); + return TRUE; } else { return FALSE; }