-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot select 4K resolution (3840x2160) in Options -> Display menu #200
Comments
EDIT: That does not appear to be true; after deleting the |
At least the SDL_GetDesktopDisplayMode call returns the correct values:
|
Ah, it appears this is not a problem in the code, but of the hard-coded list that comes with the latest vdrift-data (
|
I came up with the following patch, and can now select my 4K resolution correctly: Index: vdrift-data/settings/options.config
===================================================================
--- vdrift-data/settings/options.config (revision 1460)
+++ vdrift-data/settings/options.config (working copy)
@@ -316,7 +316,7 @@
type = string
default = 800,600
values = list
-num_vals = 21
+num_vals = 22
opt00 = 640 x 480
val00 = 640,480
opt01 = 800 x 480
@@ -359,6 +359,8 @@
val19 = 2560,1440
opt20 = 2560 x 1600
val20 = 2560,1600
+opt21 = 3840 x 2160
+val21 = 3840,2160
[ display.shadow_distance ]
desc = Set the distance at which shadows become visible Please apply it to the SVN repository :-). |
Data updated. I think I'll add runtime resolution enumeration (probably this weekend). |
That would be great (runtime resolution enumeration); I was wondering if that would be easy. |
Hi,
The list of available resolutions to choose from somehow does not include my native 4K resolution of 3840x2160. The highest one that is made available by the game is 2560x1600, and this doesn't work very well in fullscreen (the game appears in the lower left corner of my screen, and selecting menus with the mouse is erratic).
My understanding is that SDL2 should be responsible for providing the available supported resolutions? Any tip to debug this and hopefully fix it?
Thank you.
The text was updated successfully, but these errors were encountered: