diff options
author | Christian König <[email protected]> | 2016-01-12 15:19:54 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2016-03-17 14:16:03 +0100 |
commit | 29d26f1522d7f7be8f7d7791e37c3fcd8ac4544a (patch) | |
tree | 8dba94bee9d4390e0a773c2f445ed8ce7f1afd35 /src/gallium/winsys/svga/drm | |
parent | 58fe7837b844da0c466a8573702d745f6f9975e6 (diff) |
gallium/winsys/drm: add offset to struct winsys_handle
We are going to need this for EGL_EXT_image_dma_buf_import.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/winsys/svga/drm')
-rw-r--r-- | src/gallium/winsys/svga/drm/vmw_screen_dri.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/svga/drm/vmw_screen_dri.c b/src/gallium/winsys/svga/drm/vmw_screen_dri.c index 01bb0e2d753..baa22a90beb 100644 --- a/src/gallium/winsys/svga/drm/vmw_screen_dri.c +++ b/src/gallium/winsys/svga/drm/vmw_screen_dri.c @@ -357,6 +357,7 @@ vmw_drm_surface_get_handle(struct svga_winsys_screen *sws, vsrf = vmw_svga_winsys_surface(surface); whandle->handle = vsrf->sid; whandle->stride = stride; + whandle->offset = 0; switch (whandle->type) { case DRM_API_HANDLE_TYPE_SHARED: |