summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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