From 6aded10f609ffdab878ff1148f8529cbf232dad8 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 16 Sep 2015 22:52:15 +0300 Subject: [PATCH] These are class methods --- SDL2pp/SDL.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SDL2pp/SDL.cc b/SDL2pp/SDL.cc index fa1b620..3976a8c 100644 --- a/SDL2pp/SDL.cc +++ b/SDL2pp/SDL.cc @@ -35,16 +35,16 @@ SDL::~SDL() { SDL_Quit(); } -Uint32 WasInit(Uint32 flags) { +Uint32 SDL::WasInit(Uint32 flags) { return SDL_WasInit(flags); } -void InitSubsystem(Uint32 flags) { +void SDL::InitSubSystem(Uint32 flags) { if (SDL_InitSubSystem(flags) != 0) throw Exception("SDL_InitSubsystem"); } -void QuitSubSystem(Uint32 flags) { +void SDL::QuitSubSystem(Uint32 flags) { SDL_QuitSubSystem(flags); }