mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-12-03 00:53:45 +08:00
ui: forward only raylib's warnings past window setup (#39482)
This commit is contained in:
committed by
firestar5683
parent
0f44e9e759
commit
5fc649d8e5
@@ -350,6 +350,7 @@ class GuiApplication:
|
||||
rl.set_config_flags(flags)
|
||||
|
||||
rl.init_window(self._scaled_width, self._scaled_height, title)
|
||||
rl.set_trace_log_level(rl.TraceLogLevel.LOG_WARNING)
|
||||
if PC and not rl.is_window_ready():
|
||||
raise RuntimeError("Desktop UI window could not open; check the active monitor/display session")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user