From 8f670620dbf4c8092e9f834f9d65cbc607b81511 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 24 Aug 2013 14:51:24 +0300 Subject: move WMInfo function calls into SDL helper. --- src/utils/sdlhelper.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/utils/sdlhelper.cpp') diff --git a/src/utils/sdlhelper.cpp b/src/utils/sdlhelper.cpp index 2690554be..204dd921d 100644 --- a/src/utils/sdlhelper.cpp +++ b/src/utils/sdlhelper.cpp @@ -26,6 +26,7 @@ #include "utils/stringutils.h" +#include #include #include "debug.h" @@ -88,4 +89,10 @@ void SDL::setVsync(const int val) SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, val); } +bool SDL::getWindowWMInfo(SDL_Surface *const window A_UNUSED, + SDL_SysWMinfo *const info) +{ + return SDL_GetWMInfo(info); +} + #endif // USE_SDL2 -- cgit v1.2.3-60-g2f50