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 99e6e71..27f72d5 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;
        }