diff options
Diffstat (limited to 'compat')
-rw-r--r-- | compat/headless.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/compat/headless.hpp b/compat/headless.hpp new file mode 100644 index 00000000..6cf597bc --- /dev/null +++ b/compat/headless.hpp @@ -0,0 +1,12 @@ +#pragma once + +#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 |