diff options
Diffstat (limited to 'gralloc_drm_pipe.c')
-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 e152171..bb50857 100644 --- a/gralloc_drm_pipe.c +++ b/gralloc_drm_pipe.c @@ -232,7 +232,7 @@ static int pipe_map(struct gralloc_drm_drv_t *drv, /* need a context to get transfer */ if (!pm->context) { - pm->context = pm->screen->context_create(pm->screen, NULL); + pm->context = pm->screen->context_create(pm->screen, NULL, 0); if (!pm->context) { ALOGE("failed to create pipe context"); err = -ENOMEM; @@ -318,7 +318,7 @@ static void pipe_blit(struct gralloc_drm_drv_t *drv, /* need a context for copying */ if (!pm->context) { - pm->context = pm->screen->context_create(pm->screen, NULL); + pm->context = pm->screen->context_create(pm->screen, NULL, 0); if (!pm->context) { ALOGE("failed to create pipe context"); pthread_mutex_unlock(&pm->mutex); |