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/sdl2helper.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/utils/sdl2helper.cpp') diff --git a/src/utils/sdl2helper.cpp b/src/utils/sdl2helper.cpp index 33a88cc8a..a65f381b3 100644 --- a/src/utils/sdl2helper.cpp +++ b/src/utils/sdl2helper.cpp @@ -26,6 +26,7 @@ #include "utils/stringutils.h" +#include #include #include "debug.h" @@ -62,4 +63,9 @@ void SDL::setVsync(const int val) SDL_GL_SetSwapInterval(val); } +bool SDL::getWindowWMInfo(SDL_Window *const window, SDL_SysWMinfo *const info) +{ + return SDL_GetWindowWMInfo(window, info); +} + #endif // USE_SDL2 -- cgit v1.2.3-70-g09d2