Logging improvements

This commit is contained in:
Henrik Rydgård committed 2019-10-06 13:21:57 +02:00
1 parent 87b2f4e186
commit f342d8d856
3 files changed
+16 -2

No files matched your search

+2
View File
@@ -1006,6 +1006,7 @@ void NativeRender(GraphicsContext *graphicsContext) {
}
if (resized) {
ILOG("Resized flag set - recalculating bounds");
resized = false;
if (uiContext) {
@@ -1275,6 +1276,7 @@ void NativeMessageReceived(const char *message, const char *value) {
void NativeResized() {
// NativeResized can come from any thread so we just set a flag, then process it later.
if (g_graphicsInited) {
ILOG("NativeResized - setting flag");
resized = true;
} else {
ILOG("NativeResized ignored, not initialized");