diff options
Diffstat (limited to 'include/hardware/hwcomposer.h')
-rw-r--r-- | include/hardware/hwcomposer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hardware/hwcomposer.h b/include/hardware/hwcomposer.h index 1e5779c..fdf2f59 100644 --- a/include/hardware/hwcomposer.h +++ b/include/hardware/hwcomposer.h @@ -20,6 +20,7 @@ #include <stdint.h> #include <sys/cdefs.h> +#include <hardware/gralloc.h> #include <hardware/hardware.h> #include <cutils/native_handle.h> @@ -148,7 +149,7 @@ typedef struct hwc_layer { /* handle of buffer to compose. this handle is guaranteed to have been * allocated with gralloc */ - const native_handle_t* handle; + buffer_handle_t handle; /* transformation to apply to the buffer during composition */ uint32_t transform; |