summaryrefslogtreecommitdiff
path: root/cros_gralloc/gralloc0/gralloc0.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cros_gralloc/gralloc0/gralloc0.cc')
-rw-r--r--cros_gralloc/gralloc0/gralloc0.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cros_gralloc/gralloc0/gralloc0.cc b/cros_gralloc/gralloc0/gralloc0.cc
index 5487128..b6f493d 100644
--- a/cros_gralloc/gralloc0/gralloc0.cc
+++ b/cros_gralloc/gralloc0/gralloc0.cc
@@ -81,7 +81,7 @@ static int gralloc0_alloc(alloc_device_t *dev, int w, int h, int format, int usa
descriptor.droid_usage = usage;
descriptor.drm_format = cros_gralloc_convert_format(format);
descriptor.use_flags = cros_gralloc_convert_usage(usage);
- descriptor.reserved_region_size = 0;
+ descriptor.enable_metadata_fd = false;
if (!mod->driver->is_supported(&descriptor)) {
ALOGE("Unsupported combination -- HAL format: %u, HAL usage: %u, "