Fix hwui compile error
set framework/base/libs/hwui/Debug.h DEBUG_INIT to 1 then compile libhwui, there is a error Bug: 274030026 Change-Id: Ic8857b0510c720b8108bde470a6a00e737c1f6fa Signed-off-by: tangcheng <tangcheng@xiaomi.com>
This commit is contained in:
parent
48413df8b8
commit
70ee564e2e
@ -98,7 +98,7 @@ bool Properties::load() {
|
||||
debugOverdraw = false;
|
||||
std::string debugOverdrawProperty = base::GetProperty(PROPERTY_DEBUG_OVERDRAW, "");
|
||||
if (debugOverdrawProperty != "") {
|
||||
INIT_LOGD(" Overdraw debug enabled: %s", debugOverdrawProperty);
|
||||
INIT_LOGD(" Overdraw debug enabled: %s", debugOverdrawProperty.c_str());
|
||||
if (debugOverdrawProperty == "show") {
|
||||
debugOverdraw = true;
|
||||
overdrawColorSet = OverdrawColorSet::Default;
|
||||
|
Loading…
x
Reference in New Issue
Block a user