default and current resolution
I'm trying to display the games current resolution in one of my menus. To set the default game resolution on first launch I created DefaultGameUserSettings.ini in MyProject/Config and made sure the resolution values were set in the file:
In my code I am checking the values of:
and
When I launch as standalone game, GSystemResolution and GetScreenResolution() return different values, and neither value matches what I have set in DefaultGameUserSettings.ini! Which value should be trusted for getting the current resolution and how come it's not working for me? Also, which INI file should I save the new resolution to once the user changes it?
(comments are locked)
|
Be the first one to answer this question
Follow this question
Once you sign in you will be able to subscribe for any updates here
In a packaged game,
GameUserSettings->GetScreenResolution()
matches what I have specified in DefaultGameUserSettings.ini, but GSystemResolution still shows different values.