summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2014-09-26 10:35:33 -0400
committerRob Clark <[email protected]>2014-09-27 13:34:07 -0400
commite4c678c164fe2530121f9ba5514e1271dd07ac8d (patch)
treee01ef6c1d8772eea4e3eeee42361d781d8ba774e /src
parentec566e0f169dac33814463e913e5d844a782c61e (diff)
freedreno: fix compiler warning
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_screen.c1
1 files changed, 1 insertions, 0 deletions
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;
}