These are class methods

This commit is contained in:
Dmitry Marakasov 2015-09-16 22:52:15 +03:00
parent 9c89af064d
commit 6aded10f60

View File

@ -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);
}