Refactor startup to load config before calling Screen::init

This commit is contained in:
Ethan Lee
2020-07-08 14:30:57 -04:00
parent f8bb8cde32
commit d3f9a36941
5 changed files with 83 additions and 71 deletions

View File

@@ -6,7 +6,15 @@
class Screen
{
public:
void init();
void init(
int windowWidth,
int windowHeight,
bool fullscreen,
bool useVsync,
int stretch,
bool linearFilter,
bool badSignal
);
void ResizeScreen(int x, int y);
void ResizeToNearestMultiple();