diff options
-rw-r--r-- | gralloc_drm_pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gralloc_drm_pipe.c b/gralloc_drm_pipe.c index 05395ff..252f2be 100644 --- a/gralloc_drm_pipe.c +++ b/gralloc_drm_pipe.c @@ -162,7 +162,7 @@ static struct pipe_buffer *get_pipe_buffer_locked(struct pipe_manager *pm, buf->winsys.type = DRM_API_HANDLE_TYPE_SHARED; if (!pm->screen->resource_get_handle(pm->screen, - buf->resource, &buf->winsys, PIPE_HANDLE_USAGE_READ_WRITE)) + buf->resource, NULL, &buf->winsys, PIPE_HANDLE_USAGE_READ_WRITE)) goto fail; } @@ -173,7 +173,7 @@ static struct pipe_buffer *get_pipe_buffer_locked(struct pipe_manager *pm, memset(&tmp, 0, sizeof(tmp)); tmp.type = DRM_API_HANDLE_TYPE_KMS; if (!pm->screen->resource_get_handle(pm->screen, - buf->resource, &tmp, PIPE_HANDLE_USAGE_READ_WRITE)) + buf->resource, NULL, &tmp, PIPE_HANDLE_USAGE_READ_WRITE)) goto fail; buf->base.fb_handle = tmp.handle; |