From accda6941a37915e250e00798d88f1d5f1b751e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 16 Mar 2018 17:33:10 +0100 Subject: [PATCH] Properly print engine startup info to Android log. --- doc/changelog.dox | 5 +++++ src/Magnum/Context.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/changelog.dox b/doc/changelog.dox index aa7bb5cd4..306f6df1a 100644 --- a/doc/changelog.dox +++ b/doc/changelog.dox @@ -69,6 +69,11 @@ See also: @ref Primitives::coneSolid() and @ref Primitives::coneWireframe() primitives +@subsection changelog-latest-bugfixes Bug fixes + +- Engine startup info was not properly printed to Android log since + introducing the `--magnum-log` option in 2018.02 + @subsection changelog-latest-deprecated Deprecated APIs - Class @cpp Primitives::Capsule2D @ce and @cpp Primitives::Capsule3D @ce is diff --git a/src/Magnum/Context.cpp b/src/Magnum/Context.cpp index 2f88d43c8..c335c1273 100644 --- a/src/Magnum/Context.cpp +++ b/src/Magnum/Context.cpp @@ -683,7 +683,7 @@ bool Context::tryCreate() { currentContext = this; /* Decide whether to print the initialization output or not */ - std::ostream* output = _displayInitializationLog ? &std::cout : nullptr; + std::ostream* output = _displayInitializationLog ? Debug::output() : nullptr; /* Print some info and initialize state tracker (which also prints some more info) */