Browse Source

Don't display "Using driver workarounds" when there aren't any.

pull/132/head
Vladimír Vondruš 11 years ago
parent
commit
eb871ccce2
  1. 8
      src/Magnum/Context.cpp

8
src/Magnum/Context.cpp

@ -654,9 +654,11 @@ bool Context::tryCreate() {
_state = new Implementation::State(*this);
/* Print a list of used workarounds */
Debug() << "Using driver workarounds:";
for(const auto& workaround: _driverWorkarounds)
if(!workaround.second) Debug() << " " << workaround.first;
if(!_driverWorkarounds.empty()) {
Debug() << "Using driver workarounds:";
for(const auto& workaround: _driverWorkarounds)
if(!workaround.second) Debug() << " " << workaround.first;
}
/* Initialize functionality based on current OpenGL version and extensions */
/** @todo Get rid of these */

Loading…
Cancel
Save