mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 07:20:50 +00:00
Use a saner default video resolution.
320x200 is way too small these days.
This commit is contained in:
parent
4d6fe3694d
commit
d6766a07c5
4 changed files with 4 additions and 8 deletions
|
@ -444,7 +444,7 @@ VID_Init (byte *palette, byte *colormap)
|
|||
Cmd_AddCommand ("vid_fbset", VID_fbset_f, "No Description");
|
||||
|
||||
/* Interpret command-line params */
|
||||
VID_GetWindowSize (320, 200);
|
||||
VID_GetWindowSize (640, 480);
|
||||
|
||||
modestr = get_mode (viddef.width, viddef.height, 8);
|
||||
|
||||
|
|
|
@ -54,10 +54,6 @@
|
|||
HWND mainwindow;
|
||||
#endif
|
||||
|
||||
// The original defaults
|
||||
#define BASEWIDTH 320
|
||||
#define BASEHEIGHT 200
|
||||
|
||||
byte *VGA_pagebase;
|
||||
int VGA_width, VGA_height, VGA_rowbytes, VGA_bufferrowbytes = 0;
|
||||
|
||||
|
@ -248,7 +244,7 @@ VID_Init (byte *palette, byte *colormap)
|
|||
viddef.fullbright = 256 - viddef.colormap8[256 * VID_GRADES];
|
||||
|
||||
// Set up display mode (width and height)
|
||||
VID_GetWindowSize (BASEWIDTH, BASEHEIGHT);
|
||||
VID_GetWindowSize (640, 480);
|
||||
|
||||
// Set video width, height and flags
|
||||
flags = (SDL_SWSURFACE | SDL_HWPALETTE);
|
||||
|
|
|
@ -374,7 +374,7 @@ VID_Init (byte *palette, byte *colormap)
|
|||
VID_InitModes ();
|
||||
|
||||
/* Interpret command-line params */
|
||||
VID_GetWindowSize (320, 200);
|
||||
VID_GetWindowSize (640, 480);
|
||||
|
||||
current_mode = get_mode (vid.width, vid.height, 8);
|
||||
|
||||
|
|
|
@ -679,7 +679,7 @@ VID_Init (byte *palette, byte *colormap)
|
|||
|
||||
srandom (getpid ());
|
||||
|
||||
VID_GetWindowSize (320, 200);
|
||||
VID_GetWindowSize (640, 480);
|
||||
X11_OpenDisplay ();
|
||||
choose_visual ();
|
||||
X11_SetVidMode (viddef.width, viddef.height);
|
||||
|
|
Loading…
Reference in a new issue