Make sure logger gets inited in win
@@ -8,6 +8,7 @@ struct swapchain_stats sw_stats {};
uint32_t vendorID;
void init_d3d_shared(){
+ if (!logger) logger = std::make_unique<Logger>(&params);
vendorID = get_device_id_dxgi();
if (cfg_inited)
return;
