commit | 1b481cb04233b875ec2b91df2b752e66368eb564 | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Tue May 06 07:25:52 2014 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue May 06 07:25:52 2014 -0700 |
tree | b0882f6a76b8970a96c844d04258c4a1ef7d85ca | |
parent | 867f23e52d2634963412c4f6508c5156a98abc72 [diff] | |
parent | 2b9b2451073b5d34882270d3d30c6f65270f8e48 [diff] |
Merge "hwc: Use layerIndex while populating hw layers"
diff --git a/libgralloc/mapper.cpp b/libgralloc/mapper.cpp index 4adc67d..338f9db 100644 --- a/libgralloc/mapper.cpp +++ b/libgralloc/mapper.cpp
@@ -431,7 +431,7 @@ { private_handle_t* hnd = va_arg(args, private_handle_t*); android_ycbcr* ycbcr = va_arg(args, struct android_ycbcr *); - if (private_handle_t::validate(hnd)) { + if (!private_handle_t::validate(hnd)) { res = getYUVPlaneInfo(hnd, ycbcr); } } break;