diff options
author | Andrey Nazarov <skuller@skuller.net> | 2011-12-13 21:13:48 +0400 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2011-12-13 21:22:40 +0400 |
commit | 69dad0e7fd192c39313935484cdebdb1c92b704e (patch) | |
tree | 1e2e56e862891e85d442afb90ede8ca1d5a7b706 /src/sys_unix.c | |
parent | 9d578766970ee7c17ebce5993f32a492d35cc460 (diff) |
Build ‘vid_modelist’ dynamically on Win32.
Enumerate video modes and find the best modes with highest display
frequency. Put desktop mode first so that setting ‘vid_fullscreen’ to 1
does the right thing without any configuration.
When changing video modes, use desktop bit depth by default.
If video mode has the same width/height as desktop mode, use desktop
display frequency by default.
‘Desktop’ video mode here means the mode stored in Windows registry.
Diffstat (limited to 'src/sys_unix.c')
0 files changed, 0 insertions, 0 deletions