Added exit on missing renderer type.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -7s

This commit is contained in:
Willem Cazander 2024-06-28 19:10:24 +02:00
parent 2896fa31bf
commit d2a58e86b7

View file

@ -42,6 +42,9 @@ proc boot_gui_mode {} {
if {$boot_env_renderer_type != 0} { if {$boot_env_renderer_type != 0} {
set renderer $boot_env_renderer_type set renderer $boot_env_renderer_type
set throttle on set throttle on
} else {
puts stderr "error: Requested boot_gui_mode but env.RENDERER_TYPE is missing."
exit 1
} }
} }