mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-22 20:21:38 +00:00
forgot to remove some code
This commit is contained in:
parent
ac4d76b52a
commit
b4a29a6766
1 changed files with 0 additions and 9 deletions
|
@ -148,7 +148,6 @@ VID_ShiftPalette (unsigned char *palette)
|
||||||
void
|
void
|
||||||
VID_Init (unsigned char *palette)
|
VID_Init (unsigned char *palette)
|
||||||
{
|
{
|
||||||
int pnum;
|
|
||||||
//Uint8 video_bpp;
|
//Uint8 video_bpp;
|
||||||
//Uint16 video_w, video_h;
|
//Uint16 video_w, video_h;
|
||||||
Uint32 flags;
|
Uint32 flags;
|
||||||
|
@ -163,14 +162,6 @@ VID_Init (unsigned char *palette)
|
||||||
VID_GetWindowSize (BASEWIDTH, BASEHEIGHT);
|
VID_GetWindowSize (BASEWIDTH, BASEHEIGHT);
|
||||||
vid.maxwarpwidth = WARP_WIDTH;
|
vid.maxwarpwidth = WARP_WIDTH;
|
||||||
vid.maxwarpheight = WARP_HEIGHT;
|
vid.maxwarpheight = WARP_HEIGHT;
|
||||||
if ((pnum=COM_CheckParm("-winsize"))) {
|
|
||||||
if (pnum >= com_argc-2)
|
|
||||||
Sys_Error("VID: -winsize <width> <height>\n");
|
|
||||||
vid.width = atoi(com_argv[pnum+1]);
|
|
||||||
vid.height = atoi(com_argv[pnum+2]);
|
|
||||||
if (!vid.width || !vid.height)
|
|
||||||
Sys_Error("VID: Bad window width/height\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set video width, height and flags
|
// Set video width, height and flags
|
||||||
flags = (SDL_SWSURFACE|SDL_HWPALETTE);
|
flags = (SDL_SWSURFACE|SDL_HWPALETTE);
|
||||||
|
|
Loading…
Reference in a new issue