diff options
author | Eric Anholt <[email protected]> | 2014-12-16 16:11:27 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-12-17 16:06:17 -0800 |
commit | 113044e1b9d8f70a26f826f7c03adcbbc8ecb138 (patch) | |
tree | 986d87c2b17e0f955903c35e00dc8a2628da97f2 /src/gallium/drivers/vc4/vc4_screen.c | |
parent | f97b731c82afb06cfd6ffebc90a3e098a9a1b308 (diff) |
vc4: Drop a weird argument in the BOs-from-handles API.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_screen.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_screen.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c index f42e0228aab..98c51c1ce7a 100644 --- a/src/gallium/drivers/vc4/vc4_screen.c +++ b/src/gallium/drivers/vc4/vc4_screen.c @@ -489,8 +489,7 @@ vc4_screen_bo_get_handle(struct pipe_screen *pscreen, struct vc4_bo * vc4_screen_bo_from_handle(struct pipe_screen *pscreen, - struct winsys_handle *whandle, - unsigned *out_stride) + struct winsys_handle *whandle) { struct vc4_screen *screen = vc4_screen(pscreen); struct vc4_bo *bo; @@ -508,7 +507,5 @@ vc4_screen_bo_from_handle(struct pipe_screen *pscreen, return NULL; } - *out_stride = whandle->stride; - return bo; } |