mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-25 23:32:20 -08:00
oops... fix first-time config initialization disaster!
This commit is contained in:
1 parent
ca8727c4af
commit
5410fac38e
3 files changed
+13
-5
No files matched your search
+1
-1
@@ -11530,7 +11530,7 @@ df_gfx_begin_frame(Arena *arena, DF_CmdList *cmds)
|
||||
}
|
||||
|
||||
//- rjf: if config opened 0 windows, we need to do some sensible default
|
||||
if(df_gfx_state->first_window == 0)
|
||||
if(windows->first == &df_g_nil_cfg_node)
|
||||
{
|
||||
OS_Handle preferred_monitor = os_primary_monitor();
|
||||
Vec2F32 monitor_dim = os_dim_from_monitor(preferred_monitor);
|
||||
|
||||
Reference in new issue
Block a user