summaryrefslogtreecommitdiffstats
path: root/include/hardware/hwcomposer.h
diff options
context:
space:
mode:
authorLouis Huemiller <lhuemill@google.com>2010-11-22 16:34:10 -0800
committerLouis Huemiller <lhuemill@google.com>2010-11-22 16:34:10 -0800
commit38476faf8f4ed38d6b591613a416b2fe14d327b1 (patch)
treefdd30cbc3536a4f0c037a06a3266bae4798de017 /include/hardware/hwcomposer.h
parent7edeaf91a8d066e6797f875451f8aa9e9a4682f6 (diff)
downloadhardware_libhardware-38476faf8f4ed38d6b591613a416b2fe14d327b1.zip
hardware_libhardware-38476faf8f4ed38d6b591613a416b2fe14d327b1.tar.gz
hardware_libhardware-38476faf8f4ed38d6b591613a416b2fe14d327b1.tar.bz2
Hardware Composer add const for handle pointer
Change-Id: Icf53be12ed43bce19b152fa7f1dee104d713b8da
Diffstat (limited to 'include/hardware/hwcomposer.h')
-rw-r--r--include/hardware/hwcomposer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hardware/hwcomposer.h b/include/hardware/hwcomposer.h
index 9a7149a..1e5779c 100644
--- a/include/hardware/hwcomposer.h
+++ b/include/hardware/hwcomposer.h
@@ -148,7 +148,7 @@ typedef struct hwc_layer {
/* handle of buffer to compose. this handle is guaranteed to have been
* allocated with gralloc */
- native_handle_t* handle;
+ const native_handle_t* handle;
/* transformation to apply to the buffer during composition */
uint32_t transform;