summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Hu <austin.hu@intel.com>2016-06-18 01:57:29 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-06-18 01:57:29 +0000
commit7e1cc32d97c32a5dce5e978e8412d52b28eeab58 (patch)
tree7566e8cd54e91b50edfc491834ac2bfe604f3492
parent032f3094533c876601ea58c237f372b847f21543 (diff)
parent4a5e38d65e3f21def5373c8ccce936473845d888 (diff)
downloadutils-7e1cc32d97c32a5dce5e978e8412d52b28eeab58.tar.gz
am: 4a5e38d65e Change-Id: I7ca856081feefacd74a7e904ffd6453ad891e7c4
-rw-r--r--ISV/base/isv_bufmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ISV/base/isv_bufmanager.cpp b/ISV/base/isv_bufmanager.cpp
index f6376ce..3b02ab4 100644
--- a/ISV/base/isv_bufmanager.cpp
+++ b/ISV/base/isv_bufmanager.cpp
@@ -89,7 +89,7 @@ status_t ISVBuffer::initBufferInfo(uint32_t hackFormat)
mColorFormat = info.format;
#else
IMG_native_handle_t* grallocHandle = (IMG_native_handle_t*)mGrallocHandle;
- mStride = grallocHandle->iWidth;
+ mStride = grallocHandle->aiStride[0];
mSurfaceHeight = grallocHandle->iHeight;
mColorFormat = (hackFormat != 0) ? hackFormat : grallocHandle->iFormat;
#endif