only init the necessary with SDL, speeding up the startup
This commit is contained in:
		@@ -341,7 +341,7 @@ ERR_PACK_MANIFEST_PATH_ALLOC_FAIL:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
static bool initialize(void) {
 | 
			
		||||
    if (SDL_Init(SDL_INIT_EVERYTHING & ~SDL_INIT_HAPTIC) == -1) {
 | 
			
		||||
    if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_EVENTS) == -1) {
 | 
			
		||||
        CRY_SDL("SDL initialization failed.");
 | 
			
		||||
        return false;
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user