Set window dimensions properly when toggling full-screen

This commit is contained in:
Cameron Gutman 2018-07-20 16:01:22 -07:00
commit e516861366
3 changed files with 97 additions and 50 deletions

View file

@ -39,6 +39,12 @@ private:
int sdlDetermineAudioConfiguration();
void getWindowDimensions(bool fullScreen,
int& x, int& y,
int& width, int& height);
void toggleFullscreen();
static
bool isHardwareDecodeAvailable(StreamingPreferences::VideoDecoderSelection vds,
int videoFormat, int width, int height, int frameRate);