Set window dimensions properly when toggling full-screen
This commit is contained in:
parent
48c2a8c5b0
commit
e516861366
3 changed files with 97 additions and 50 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue