diff options
Diffstat (limited to 'libgralloc/gpu.cpp')
-rw-r--r-- | libgralloc/gpu.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libgralloc/gpu.cpp b/libgralloc/gpu.cpp index 98ae919e8..13b063896 100644 --- a/libgralloc/gpu.cpp +++ b/libgralloc/gpu.cpp @@ -145,8 +145,7 @@ int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, flags |= private_handle_t::PRIV_FLAGS_TILE_RENDERED; } - if (isUBwcEnabled(format, usage) && - AdrenoMemInfo::getInstance().isUBWCSupportedByGPU(format)) { + if (isUBwcEnabled(format, usage)) { flags |= private_handle_t::PRIV_FLAGS_UBWC_ALIGNED; } |