don't init audio in context.c

This commit is contained in:
headshot2017
2023-01-12 13:44:46 -04:00
parent 986ce5f106
commit ef13bae2fc
+2 -2
View File
@@ -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;
}
}