summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_screen.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-09-03 12:57:50 -0400
committerRob Clark <[email protected]>2016-09-07 11:41:38 -0400
commit32c061b110f6c4b6d6c7b1278d4e308e296c3a2a (patch)
tree8a7d2db966dcf4eeb5b0d5326f76400a7b110b73 /src/gallium/drivers/freedreno/freedreno_screen.h
parentb4e88b500c93d9728d2a3e30f6b0365bcb224b88 (diff)
freedreno: reject imports with bogus pitch
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_screen.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.h b/src/gallium/drivers/freedreno/freedreno_screen.h
index c52c23b33f5..03ee90a5513 100644
--- a/src/gallium/drivers/freedreno/freedreno_screen.h
+++ b/src/gallium/drivers/freedreno/freedreno_screen.h
@@ -86,8 +86,7 @@ boolean fd_screen_bo_get_handle(struct pipe_screen *pscreen,
unsigned stride,
struct winsys_handle *whandle);
struct fd_bo * fd_screen_bo_from_handle(struct pipe_screen *pscreen,
- struct winsys_handle *whandle,
- unsigned *out_stride);
+ struct winsys_handle *whandle);
struct pipe_screen * fd_screen_create(struct fd_device *dev);