Only log about resource context setup failures on debug builds. (flutter/engine#3601)

We were unnecessarily alarming users when they used the software backend. Fixes https://github.com/flutter/flutter/issues/9394
This commit is contained in:
Chinmay Garde
2017-04-17 14:26:51 -07:00
committed by GitHub
parent 97af2def3e
commit 54d846b871

View File

@@ -159,8 +159,8 @@ void PlatformView::SetupResourceContextOnIOThreadPerform(
bool current = ResourceContextMakeCurrent();
if (!current) {
FTL_LOG(WARNING)
<< "WARNING: Could not setup an OpenGL context on the resource loader.";
FTL_DLOG(WARNING)
<< "WARNING: Could not setup a context on the resource loader.";
latch->Signal();
return;
}