Load configuration before creating SDL window
This commit is contained in:
parent
0da317e87c
commit
731d5d8df4
2 changed files with 60 additions and 62 deletions
|
|
@ -265,8 +265,6 @@ void MainProgram::load_config() {
|
|||
NetLibrary::init_config(conf.configPath / "p2p.json");
|
||||
|
||||
update_display_names();
|
||||
set_vsync_value(conf.vsyncValue);
|
||||
refresh_draw_surfaces();
|
||||
}
|
||||
|
||||
void MainProgram::set_vsync_value(int vsyncValue) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue