mirror of
https://git.code.sf.net/p/quake/nuq
synced 2024-11-21 19:51:09 +00:00
Make SDL jive with X11's default window size
This commit is contained in:
parent
8d1b5efd1d
commit
7409dd7658
1 changed files with 2 additions and 6 deletions
|
@ -73,12 +73,8 @@ HWND mainwindow;
|
||||||
|
|
||||||
int modestate; // fixme: just to avoid cross-comp. errors - remove later
|
int modestate; // fixme: just to avoid cross-comp. errors - remove later
|
||||||
|
|
||||||
// The original defaults
|
#define BASEWIDTH 320
|
||||||
//#define BASEWIDTH 320
|
#define BASEHEIGHT 200
|
||||||
//#define BASEHEIGHT 200
|
|
||||||
// Much better for high resolution displays
|
|
||||||
#define BASEWIDTH (320*2)
|
|
||||||
#define BASEHEIGHT (200*2)
|
|
||||||
|
|
||||||
int VGA_width, VGA_height, VGA_rowbytes, VGA_bufferrowbytes = 0;
|
int VGA_width, VGA_height, VGA_rowbytes, VGA_bufferrowbytes = 0;
|
||||||
byte *VGA_pagebase;
|
byte *VGA_pagebase;
|
||||||
|
|
Loading…
Reference in a new issue