diff options
author | Eino-Ville Talvala <etalvala@google.com> | 2015-02-19 16:53:59 -0800 |
---|---|---|
committer | Eino-Ville Talvala <etalvala@google.com> | 2015-02-19 16:53:59 -0800 |
commit | b30540c189f3e7d2bd77c783ecf50647921d3afd (patch) | |
tree | 9484bdb150cf9f28aa009b4d00673dbd3a03f3cd /opengl | |
parent | 961a0dde4b43f51ab707c756e3b8852e5007fc81 (diff) | |
download | android_device_generic_goldfish-b30540c189f3e7d2bd77c783ecf50647921d3afd.tar.gz android_device_generic_goldfish-b30540c189f3e7d2bd77c783ecf50647921d3afd.tar.bz2 android_device_generic_goldfish-b30540c189f3e7d2bd77c783ecf50647921d3afd.zip |
Replace HAL_PIXEL_FORMAT_RAW_SENSOR with RAW_16
Change-Id: Iee70a27184d5ed35623814886487a5166c73567e
Diffstat (limited to 'opengl')
-rw-r--r-- | opengl/system/gralloc/gralloc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/system/gralloc/gralloc.cpp b/opengl/system/gralloc/gralloc.cpp index 059bf12..9659e3d 100644 --- a/opengl/system/gralloc/gralloc.cpp +++ b/opengl/system/gralloc/gralloc.cpp @@ -211,7 +211,7 @@ static int gralloc_alloc(alloc_device_t* dev, glFormat = GL_RGB; glType = GL_UNSIGNED_SHORT_5_6_5; break; - case HAL_PIXEL_FORMAT_RAW_SENSOR: + case HAL_PIXEL_FORMAT_RAW16: bpp = 2; align = 16*bpp; if (! ((sw_read || hw_cam_read) && (sw_write || hw_cam_write) ) ) { |