Add some missing code to the main function
This code was previously in WindowProc, which was replaced.
This commit is contained in:
parent
1f3728c177
commit
8dce9c5aff
1 changed files with 6 additions and 0 deletions
|
@ -300,6 +300,12 @@ int main(int argc, char *argv[])
|
|||
SDL_EventState(SDL_DROPFILE, SDL_ENABLE);
|
||||
#endif
|
||||
|
||||
if (CheckFileExists("fps"))
|
||||
bFps = TRUE;
|
||||
|
||||
if (!bFullscreen)
|
||||
LoadWindowRect(hWnd, "window.rect", FALSE);
|
||||
|
||||
// Set rects
|
||||
RECT rcLoading = {0, 0, 64, 8};
|
||||
RECT rcFull = {0, 0, 0, 0};
|
||||
|
|
Loading…
Add table
Reference in a new issue