summaryrefslogtreecommitdiff
path: root/src/utils/sdl2helper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-13 21:54:39 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-13 21:54:39 +0300
commit86b19d64c2692665aba33e44ee5db6cbf36b6342 (patch)
tree93d91c84258f9b76ab29ab51119bbc0044d729a4 /src/utils/sdl2helper.h
parenta45303dc06c74735389607e5b281bb69543547ed (diff)
downloadmanaverse-86b19d64c2692665aba33e44ee5db6cbf36b6342.tar.gz
manaverse-86b19d64c2692665aba33e44ee5db6cbf36b6342.tar.bz2
manaverse-86b19d64c2692665aba33e44ee5db6cbf36b6342.tar.xz
manaverse-86b19d64c2692665aba33e44ee5db6cbf36b6342.zip
Add option to select any existing SDL renderer drivers for SDL2 default mode.
Diffstat (limited to 'src/utils/sdl2helper.h')
-rw-r--r--src/utils/sdl2helper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/sdl2helper.h b/src/utils/sdl2helper.h
index 4dbbad0f9..6c50bb1be 100644
--- a/src/utils/sdl2helper.h
+++ b/src/utils/sdl2helper.h
@@ -73,6 +73,11 @@ namespace SDL
bool PollEvent(SDL_Event *event);
void allowScreenSaver(const bool allow);
+
+ void getRenderers(StringVect &list,
+ const std::string &currentRenderer);
+
+ void setRendererHint(const std::string &driver);
} // namespace SDL
#endif // USE_SDL2