freedreno: fix compiler warning
authorRob Clark <robclark@freedesktop.org>
Fri, 26 Sep 2014 14:35:33 +0000 (10:35 -0400)
committerRob Clark <robclark@freedesktop.org>
Sat, 27 Sep 2014 17:34:07 +0000 (13:34 -0400)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_screen.c

index 99e6e7172ff53a8c050472df9dedb9e5f395c783..27f72d5ef1de1f4e2930d5b5216fa5ac36a265f9 100644 (file)
@@ -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;
        }