mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-12-02 02:23:40 +08:00
ui: forward only raylib's warnings past window setup (#39482)
This commit is contained in:
committed by
firestar5683
parent
9e5cf0f450
commit
8acbc7b7db
@@ -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