save & load to file!

This commit is contained in:
ManDude
2021-08-16 15:43:12 +01:00
parent 093526721c
commit 8e348a8cd1
5 changed files with 78 additions and 20 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ int InitMainDisplay(int width, int height, const char* title, GfxSettings& setti
return 1;
}
auto display = settings.renderer->make_main_display(width, height, title, settings);
auto display = Gfx::GetRenderer(settings.renderer)->make_main_display(width, height, title, settings);
if (display == NULL) {
lg::error("Failed to make main display.");
return 1;