Browse Source

Platform: make the GlfwApplication test app resizable.

pull/397/head
Vladimír Vondruš 7 years ago
parent
commit
98e64b5dee
  1. 2
      src/Magnum/Platform/Test/GlfwApplicationTest.cpp

2
src/Magnum/Platform/Test/GlfwApplicationTest.cpp

@ -30,7 +30,7 @@
namespace Magnum { namespace Platform { namespace Test { namespace {
struct GlfwApplicationTest: Platform::Application {
explicit GlfwApplicationTest(const Arguments& arguments): Platform::Application{arguments} {
explicit GlfwApplicationTest(const Arguments& arguments): Platform::Application{arguments, Configuration{}.setWindowFlags(Configuration::WindowFlag::Resizable)} {
Debug{} << "window size" << windowSize()
#ifdef MAGNUM_TARGET_GL
<< framebufferSize()

Loading…
Cancel
Save