From 75955ad1b90a17bb6827450eec3f97ee751d573e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 12 Aug 2014 15:00:16 +0200 Subject: [PATCH] Platform: include windows.h in WindowlessWglApplication. The flextGL header doesn't include it anymore so I need to include it explicitly myself. --- src/Magnum/Platform/WindowlessWglApplication.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Magnum/Platform/WindowlessWglApplication.h b/src/Magnum/Platform/WindowlessWglApplication.h index 20210935e..dfffc0387 100644 --- a/src/Magnum/Platform/WindowlessWglApplication.h +++ b/src/Magnum/Platform/WindowlessWglApplication.h @@ -29,9 +29,13 @@ * @brief Class @ref Magnum::Platform::WindowlessWglApplication, macro @ref MAGNUM_WINDOWLESSWGLAPPLICATION_MAIN() */ -#include "Magnum/OpenGL.h" +#define WIN32_LEAN_AND_MEAN 1 +#define VC_EXTRALEAN +#include #include "Magnum/Magnum.h" +#include "Magnum/OpenGL.h" +#include "Magnum/Platform/Context.h" namespace Magnum { namespace Platform {