mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-04-20 13:30:46 +00:00
Change -sdl to use 320x200 window again
This commit is contained in:
parent
a3dbf0f9da
commit
718544d190
1 changed files with 4 additions and 7 deletions
|
@ -58,11 +58,8 @@ HWND mainwindow;
|
|||
int modestate; // fixme: just to avoid cross-comp. errors - remove later
|
||||
|
||||
// The original defaults
|
||||
//#define BASEWIDTH 320
|
||||
//#define BASEHEIGHT 200
|
||||
// Much better for high resolution displays
|
||||
#define BASEWIDTH (320*2)
|
||||
#define BASEHEIGHT (200*2)
|
||||
#define BASEWIDTH 320
|
||||
#define BASEHEIGHT 200
|
||||
|
||||
int VGA_width, VGA_height, VGA_rowbytes, VGA_bufferrowbytes = 0;
|
||||
byte *VGA_pagebase;
|
||||
|
@ -121,13 +118,13 @@ VID_SetPalette (unsigned char *palette)
|
|||
colors[i].g = *palette++;
|
||||
colors[i].b = *palette++;
|
||||
}
|
||||
SDL_SetColors(screen, colors, 0, 256);
|
||||
SDL_SetColors (screen, colors, 0, 256);
|
||||
}
|
||||
|
||||
void
|
||||
VID_ShiftPalette (unsigned char *palette)
|
||||
{
|
||||
VID_SetPalette(palette);
|
||||
VID_SetPalette (palette);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue