mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 19:05:59 -04:00
These are class methods
This commit is contained in:
parent
9c89af064d
commit
6aded10f60
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user