summaryrefslogtreecommitdiffstats
path: root/include/wrapsdl2.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/wrapsdl2.hpp')
-rw-r--r--include/wrapsdl2.hpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/include/wrapsdl2.hpp b/include/wrapsdl2.hpp
deleted file mode 100644
index 2f28890..0000000
--- a/include/wrapsdl2.hpp
+++ /dev/null
@@ -1,23 +0,0 @@
-#pragma once
-
-extern "C" {
-#include <SDL2/SDL.h>
-}
-
-namespace wrapsdl2 {
- bool initialize(void);
- void quit(void);
-
- namespace util {
- constexpr inline bool sdl_bool(SDL_bool b) {
- return b == SDL_TRUE;
- }
-
- constexpr inline SDL_bool sdl_bool(bool b) {
- return (b) ? SDL_TRUE : SDL_FALSE;
- }
- }
-
- // tool functions
- void delay(unsigned ms);
-} \ No newline at end of file