libqdutils: Initialized GPU layer present flag to false
Change-Id: I8d7ce6acdc28fbd562f60cd8c96d993817d6489a
This commit is contained in:
committed by
andrew.boren
parent
c356c1c205
commit
638d873edb
2
libqdutils/cb_utils.cpp
Executable file → Normal file
2
libqdutils/cb_utils.cpp
Executable file → Normal file
@@ -37,7 +37,7 @@ namespace qdutils {
|
||||
bool CBUtils::sGPUlayerpresent = 0;
|
||||
|
||||
void CBUtils::checkforGPULayer(const hwc_layer_list_t* list) {
|
||||
sGPUlayerpresent = true;
|
||||
sGPUlayerpresent = false;
|
||||
for(uint32_t index = 0; index < list->numHwLayers; index++) {
|
||||
const hwc_layer_t* layer = &list->hwLayers[index];
|
||||
if(layer->compositionType == HWC_FRAMEBUFFER) {
|
||||
|
Reference in New Issue
Block a user