commit | 4945a10962b67c07d6650c1f96bc8156dee77e22 | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@quicinc.com> | Wed Aug 23 13:02:38 2017 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Aug 23 13:02:38 2017 -0700 |
tree | 9e02e3c7a1fbf511dd5cc8e63872647aec89ec0b | |
parent | 509ab2b27b7bfd940a35d15a0fba94bfb5fd40ba [diff] | |
parent | d3dfe4b0bcea419ac0c209253023c7013645860f [diff] |
Merge " gralloc1: Add proper check for linear format"
diff --git a/libgralloc1/gr_buf_mgr.cpp b/libgralloc1/gr_buf_mgr.cpp index d6753d8..64ff861 100644 --- a/libgralloc1/gr_buf_mgr.cpp +++ b/libgralloc1/gr_buf_mgr.cpp
@@ -704,7 +704,7 @@ *flag = hnd->flags &private_handle_t::PRIV_FLAGS_UBWC_ALIGNED; int linear_format = 0; if (getMetaData(hnd, GET_LINEAR_FORMAT, &linear_format) == 0) { - if (!linear_format) { + if (linear_format) { *flag = 0; } }