From eea6fad65d5c9fecfb47c4a1c516c253cee85fd2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 12 Nov 2022 16:08:50 +0100 Subject: test: fix non-win32 build --- test/app.hpp | 4 +++- test/main.cpp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'test') 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 -#include #ifdef __APPLE__ +#include #define FM_APPLICATION Platform::WindowlessCglApplication #elif defined _WIN32 +#include #define FM_APPLICATION Platform::WindowlessWglApplication #else +#include #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{} } -- cgit v1.2.3