Keep the console at start: until the game window opens it shows the shader prewarm

d2fbe0a freed the console as soon as the log file was open, but the game window only opens after the shader
prewarm. After an update the prewarm translates every shader again (about 5 minutes on a 24-thread CPU), and the
player saw neither a console nor a window all that time. The console release and show_console are taken back; the
window is still raised at start (#521).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Valiantsin DzerakhandClaude Opus 5.5 committed 2026-11-03 20:31:19 +03:00
1 parent c4a360e50d
commit 46a3b64895
6 files changed
+3 -29

No files matched your search

-2
View File
@@ -1264,8 +1264,6 @@ int plat_os_version(char *out, size_t cap) {
int plat_is_wine(void) { return 0; }
int plat_console_release_if_owned(void) { return 0; }
int plat_stderr_path(char *out, size_t cap) {
struct stat st;
if (fstat(2, &st) || !S_ISREG(st.st_mode)) return 0;