various SDL hints to try out !
This commit is contained in:
parent
507bff6ed8
commit
53c43a8f34
@ -647,6 +647,11 @@ static bool initialize(void) {
|
||||
profile_end("opengl loading");
|
||||
|
||||
SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0");
|
||||
SDL_SetHint(SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4, "1");
|
||||
SDL_SetHint(SDL_HINT_WAVE_FACT_CHUNK, "ignorezero");
|
||||
SDL_SetHint(SDL_HINT_VIDEO_DOUBLE_BUFFER, "1");
|
||||
if (ctx.game.debug)
|
||||
SDL_SetHint(SDL_HINT_SHUTDOWN_DBUS_ON_QUIT, "1");
|
||||
|
||||
/* TODO: investigate viability of detached thread driver and window creation, as it's the worst load time offender */
|
||||
profile_start("window creation");
|
||||
|
Loading…
Reference in New Issue
Block a user