summaryrefslogtreecommitdiff
path: root/src/utils/sdlhelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/sdlhelper.h')
-rw-r--r--src/utils/sdlhelper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/sdlhelper.h b/src/utils/sdlhelper.h
index acaf7111b..27d5cc2ab 100644
--- a/src/utils/sdlhelper.h
+++ b/src/utils/sdlhelper.h
@@ -30,6 +30,7 @@
#include "localconsts.h"
struct SDL_Surface;
+struct SDL_SysWMinfo;
namespace SDL
{
@@ -46,6 +47,9 @@ namespace SDL
void setGamma(SDL_Surface *const window A_UNUSED, const float gamma);
void setVsync(const int val);
+
+ bool getWindowWMInfo(SDL_Surface *const window A_UNUSED,
+ SDL_SysWMinfo *const info);
} // namespace SDL
#endif // USE_SDL2