From ef13bae2fc5d124f7e1908bfdb5fcf4b2688e962 Mon Sep 17 00:00:00 2001 From: headshot2017 <> Date: Thu, 12 Jan 2023 13:44:46 -0400 Subject: [PATCH] don't init audio in context.c --- test/context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/context.c b/test/context.c index 81051c5..1e82039 100644 --- a/test/context.c +++ b/test/context.c @@ -10,7 +10,7 @@ static int s_windowHeight; void context_init( const char *title, int width, int height, int major, int minor ) { - if( SDL_Init( SDL_INIT_VIDEO | SDL_INIT_JOYSTICK | SDL_INIT_AUDIO ) < 0 ) goto err; + if( SDL_Init( SDL_INIT_VIDEO | SDL_INIT_JOYSTICK ) < 0 ) goto err; int profile = (major < 3) ? SDL_GL_CONTEXT_PROFILE_COMPATIBILITY : SDL_GL_CONTEXT_PROFILE_CORE; @@ -111,4 +111,4 @@ void context_terminate( void ) SDL_Quit(); s_sdlWindow = NULL; -} \ No newline at end of file +}