Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

VgaSDL: Set the window size at runtime. #3

Merged
merged 1 commit into from
Nov 2, 2013
Merged

VgaSDL: Set the window size at runtime. #3

merged 1 commit into from
Nov 2, 2013

Conversation

7k2
Copy link
Contributor

@7k2 7k2 commented Oct 24, 2013

If the height of the primary display resolution is less than 1024, the size of the window will be set to 800x600; otherwise, it will be set to 1024x768.

I did not make it an error if the resolution height is less than 600. The game creates a window first, and then changes to fullscreen mode. That means it won't be possible to play in fullscreen mode at lower resolutions if the game disallows heights < 600.

If the height of the primary display resolution is less than 1024, the
size of the window will be set to 800x600; otherwise, it will be set to
1024x768.

Thanks to the3dfxdude for the suggestion.
@the3dfxdude the3dfxdude merged commit 27a253e into the3dfxdude:master Nov 2, 2013
@7k2 7k2 deleted the window-size branch November 5, 2013 02:06
This was referenced Jun 24, 2019
the3dfxdude pushed a commit that referenced this pull request May 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants