Browse Source

Properly print engine startup info to Android log.

pull/205/head
Vladimír Vondruš 8 years ago
parent
commit
accda6941a
  1. 5
      doc/changelog.dox
  2. 2
      src/Magnum/Context.cpp

5
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

2
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) */

Loading…
Cancel
Save