diff options
author | Nao Pross <naopross@thearcway.org> | 2019-01-22 15:34:56 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2019-01-22 15:34:56 +0100 |
commit | 2914d264ded33d236f0dbd78f899b0003d3b9d52 (patch) | |
tree | 1553c3ac770d8662233a0bd9d4516bde5b764fb7 /wrapsdl2.cpp | |
parent | Update .gitignore (diff) | |
download | libwsdl2-2914d264ded33d236f0dbd78f899b0003d3b9d52.tar.gz libwsdl2-2914d264ded33d236f0dbd78f899b0003d3b9d52.zip |
Rename library from libwrapsdl2 to libwsdl2
Diffstat (limited to 'wrapsdl2.cpp')
-rw-r--r-- | wrapsdl2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wrapsdl2.cpp b/wrapsdl2.cpp index 3828abc..a0fa624 100644 --- a/wrapsdl2.cpp +++ b/wrapsdl2.cpp @@ -1,4 +1,4 @@ -#include "wrapsdl2.hpp" +#include "wsdl2.hpp" #include "debug.hpp" #ifdef WRAPSDL2_EXCEPTIONS @@ -9,7 +9,7 @@ extern "C" { #include <SDL2/SDL.h> } -bool wrapsdl2::initialize(void) { +bool wsdl2::initialize(void) { if (SDL_InitSubSystem(SDL_INIT_VIDEO) < 0) { #ifdef WRAPSDL2_EXCEPTIONS throw std::runtime_error("failed to initialize sdl video subsystem"); @@ -29,7 +29,7 @@ bool wrapsdl2::initialize(void) { return true; } -void wrapsdl2::quit(void) { +void wsdl2::quit(void) { if (SDL_WasInit(SDL_INIT_VIDEO)) SDL_QuitSubSystem(SDL_INIT_VIDEO); @@ -43,6 +43,6 @@ void wrapsdl2::quit(void) { -void wrapsdl2::delay(unsigned ms) { +void wsdl2::delay(unsigned ms) { SDL_Delay(ms); }
\ No newline at end of file |