From 61f7e7716c6743b16051d8c3ea4cea3b27d0197b Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 14 Apr 2019 02:16:42 -0700 Subject: 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. --- Alc/backends/sdl2.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'Alc/backends/sdl2.cpp') 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; } -- cgit v1.2.3