mat_setvideomode
		
		
		
		Jump to navigation
		Jump to search
		
mat_setvideomode  is a   console variable  available in all 
 Source games. This integer and boolean cvar sets the screen resolution and change the display mode to windowed or fullscreen.
If <windowed> is set to "1", switches the game to windowed mode, if set to "0", switches the game to fullscreen.
Example
Syntax: mat_setvideomode <width> <height> <windowed>
Syntax: mat_setvideomode 1920 1080 0
- Runs the game in fullscreen 1920x1080 resolution.
 
Syntax: mat_setvideomode 1920 1080 1
- Runs the game in windowed 1920x1080 resolution.