freedreno: fix compiler warning

Signed-off-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
Rob Clark 2014-09-26 10:35:33 -04:00
parent ec566e0f16
commit e4c678c164
1 changed files with 1 additions and 0 deletions

View 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;
}