summaryrefslogtreecommitdiff
path: root/src/utils/sdl2helper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-24 13:57:27 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:17 +0300
commited77e8fb99e16e72cde0e163a9b58c5cefd8d05d (patch)
tree42688472bb292ff287b1829826d0b873a21b96d6 /src/utils/sdl2helper.h
parent2652836af364935294a2c731de74502de530f9e6 (diff)
downloadmv-ed77e8fb99e16e72cde0e163a9b58c5cefd8d05d.tar.gz
mv-ed77e8fb99e16e72cde0e163a9b58c5cefd8d05d.tar.bz2
mv-ed77e8fb99e16e72cde0e163a9b58c5cefd8d05d.tar.xz
mv-ed77e8fb99e16e72cde0e163a9b58c5cefd8d05d.zip
move some function to sdl helper.
Diffstat (limited to 'src/utils/sdl2helper.h')
-rw-r--r--src/utils/sdl2helper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/sdl2helper.h b/src/utils/sdl2helper.h
index 956a63ff8..3e7b20651 100644
--- a/src/utils/sdl2helper.h
+++ b/src/utils/sdl2helper.h
@@ -38,6 +38,10 @@ namespace SDL
void SetWindowIcon(SDL_Window *const window, SDL_Surface *const icon);
void grabInput(SDL_Window *const window, const bool grab);
+
+ void setGamma(SDL_Window *const window, const float gamma);
+
+ void setVsync(const int val);
} // namespace SDL
#endif // USE_SDL2