From 4f6f8ecdde1afc6f686daf528299cc331cec5e91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 16 Nov 2019 19:47:08 +0100 Subject: [PATCH] Platform: um... why isn't SDL_version.h pulled in implicitly? I'd assume that if I include any SDL header, the version macros get included too. --- doc/changelog.dox | 3 +++ src/Magnum/Platform/Sdl2Application.h | 1 + 2 files changed, 4 insertions(+) diff --git a/doc/changelog.dox b/doc/changelog.dox index c19f96dd4..39617ac63 100644 --- a/doc/changelog.dox +++ b/doc/changelog.dox @@ -107,6 +107,9 @@ See also: - The @ref Primitives::cylinderSolid() and @ref Primitives::coneSolid() primitives were missing a face when both caps and texture coordinates were enabled (see [mosra/magnum#386](https://github.com/mosra/magnum/issues/386)) +- @ref Platform::Sdl2Application::Configuration::WindowFlag::Vulkan was + enabled conditionally only for SDL >= 2.0.6, but the version defines were + never included so it was always disabled @subsection changelog-latest-deprecated Deprecated APIs diff --git a/src/Magnum/Platform/Sdl2Application.h b/src/Magnum/Platform/Sdl2Application.h index f47a9d600..d007adaf0 100644 --- a/src/Magnum/Platform/Sdl2Application.h +++ b/src/Magnum/Platform/Sdl2Application.h @@ -49,6 +49,7 @@ /* SDL.h includes the world, adding 50k LOC. We don't want that either. */ #include #include +#include /* huh, why is this not pulled in implicitly?! */ #include #include