Difference between revisions of "Adding video modes"

From VDrift
Jump to: navigation, search
m (3 revisions: Import from old wiki (on 15 May 2012))
 
m (Update categories)
 
Line 1: Line 1:
{{update}}
 
 
 
You can add a new resolution to the list that gets displayed in the in-game display options by editing the '''data/lists/videomodes''' file.
 
You can add a new resolution to the list that gets displayed in the in-game display options by editing the '''data/lists/videomodes''' file.
  
Line 8: Line 6:
  
 
[[Category:Files]]
 
[[Category:Files]]
[[Category:Update]]
 

Latest revision as of 02:31, 1 September 2012

You can add a new resolution to the list that gets displayed in the in-game display options by editing the data/lists/videomodes file.

When VDrift is run, it reads this file for the base list of video modes. Then it gets a list of available graphics modes that your monitor supports using SDL. During this process it checks the provided modes to see if they are valid (invalid modes are removed from the list).

The list of video modes which is then made available through the Display Options menu is all working modes from the videomodes file plus any other modes SDL reported as working.