diff options
author | Chris Robinson <[email protected]> | 2019-04-14 02:16:42 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-04-14 04:05:07 -0700 |
commit | 61f7e7716c6743b16051d8c3ea4cea3b27d0197b (patch) | |
tree | 61b486a606cb2e3bac66b274fed8c75dbfad1d0a /Alc/backends/sdl2.cpp | |
parent | 7f526780994f44793fe56a426c01fcebfb64a75a (diff) |
Remove the backend factory deinit method
It was never actually called anywhere, and there's no safe place where it can
be called. It's probably better to let the individual backends worry about
cleaning themselves up anyway.
Diffstat (limited to 'Alc/backends/sdl2.cpp')
-rw-r--r-- | Alc/backends/sdl2.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Alc/backends/sdl2.cpp b/Alc/backends/sdl2.cpp index 9699e274..a1011735 100644 --- a/Alc/backends/sdl2.cpp +++ b/Alc/backends/sdl2.cpp @@ -193,14 +193,7 @@ BackendFactory &SDL2BackendFactory::getFactory() } bool SDL2BackendFactory::init() -{ - return (SDL_InitSubSystem(SDL_INIT_AUDIO) == 0); -} - -void SDL2BackendFactory::deinit() -{ - SDL_QuitSubSystem(SDL_INIT_AUDIO); -} +{ return (SDL_InitSubSystem(SDL_INIT_AUDIO) == 0); } bool SDL2BackendFactory::querySupport(BackendType type) { return type == BackendType::Playback; } |