Browse Source

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.
pull/397/head
Vladimír Vondruš 7 years ago
parent
commit
4f6f8ecdde
  1. 3
      doc/changelog.dox
  2. 1
      src/Magnum/Platform/Sdl2Application.h

3
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

1
src/Magnum/Platform/Sdl2Application.h

@ -49,6 +49,7 @@
/* SDL.h includes the world, adding 50k LOC. We don't want that either. */
#include <SDL_keycode.h>
#include <SDL_mouse.h>
#include <SDL_version.h> /* huh, why is this not pulled in implicitly?! */
#include <SDL_video.h>
#include <SDL_scancode.h>

Loading…
Cancel
Save