diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/app.hpp | 4 | ||||
-rw-r--r-- | test/main.cpp | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/test/app.hpp b/test/app.hpp index c9bcfcee..26a0e41a 100644 --- a/test/app.hpp +++ b/test/app.hpp @@ -1,12 +1,14 @@ #pragma once #include <Magnum/Magnum.h> -#include <Magnum/Platform/WindowlessWglApplication.h> #ifdef __APPLE__ +#include <Magnum/Platform/WindowlessCglApplication.h> #define FM_APPLICATION Platform::WindowlessCglApplication #elif defined _WIN32 +#include <Magnum/Platform/WindowlessWglApplication.h> #define FM_APPLICATION Platform::WindowlessWglApplication #else +#include <Magnum/Platform/WindowlessGlxApplication.h> #define FM_APPLICATION Platform::WindowlessGlxApplication #endif diff --git a/test/main.cpp b/test/main.cpp index d20d5d26..1dc91e9e 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -4,7 +4,7 @@ namespace floormat { floormat::floormat(const Arguments& arguments): - Platform::WindowlessWglApplication{ + FM_APPLICATION { arguments, Configuration{} } |