From 29cb2a8d7a1b9e174ca5434201e4a88f4d871fce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 20 Mar 2013 14:49:40 +0100 Subject: [PATCH] Platform: added MAGNUM_WINDOWLESSAPPLICATION_MAIN() alias. Treating windowless application differently to windowed ones, as they don't share any API with them. --- src/Platform/WindowlessGlxApplication.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Platform/WindowlessGlxApplication.h b/src/Platform/WindowlessGlxApplication.h index 71569af0a..8a34e1f91 100644 --- a/src/Platform/WindowlessGlxApplication.h +++ b/src/Platform/WindowlessGlxApplication.h @@ -96,8 +96,8 @@ int main(int argc, char** argv) { return app.exec(); } @endcode -When no other application header is included this macro is also aliased to -`MAGNUM_APPLICATION_MAIN()`. +When no other windowless application header is included this macro is also +aliased to `MAGNUM_WINDOWLESSAPPLICATION_MAIN()`. */ #define MAGNUM_WINDOWLESSGLXAPPLICATION_MAIN(className) \ int main(int argc, char** argv) { \ @@ -106,10 +106,10 @@ When no other application header is included this macro is also aliased to } #ifndef DOXYGEN_GENERATING_OUTPUT -#ifndef MAGNUM_APPLICATION_MAIN -#define MAGNUM_APPLICATION_MAIN(className) MAGNUM_WINDOWLESSGLXAPPLICATION_MAIN(className) +#ifndef MAGNUM_WINDOWLESSAPPLICATION_MAIN +#define MAGNUM_WINDOWLESSAPPLICATION_MAIN(className) MAGNUM_WINDOWLESSGLXAPPLICATION_MAIN(className) #else -#undef MAGNUM_APPLICATION_MAIN +#undef MAGNUM_WINDOWLESSAPPLICATION_MAIN #endif #endif