mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
gl_vidsdl.c: remove "modenum" from vmode_t
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@803 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
7fe99ff949
commit
31b08a50e3
1 changed files with 0 additions and 4 deletions
|
@ -45,7 +45,6 @@ typedef struct {
|
|||
modestate_t type;
|
||||
int width;
|
||||
int height;
|
||||
int modenum;
|
||||
int fullscreen;
|
||||
int bpp;
|
||||
} vmode_t;
|
||||
|
@ -883,7 +882,6 @@ static void VID_InitDIB (void)
|
|||
info = SDL_GetVideoInfo();
|
||||
modelist[0].bpp = info->vfmt->BitsPerPixel;
|
||||
|
||||
modelist[0].modenum = MODE_WINDOWED;
|
||||
modelist[0].fullscreen = 0;
|
||||
|
||||
nummodes = 1;
|
||||
|
@ -927,7 +925,6 @@ static void VID_InitFullDIB (void)
|
|||
modelist[nummodes].type = MODE_FULLSCREEN_DEFAULT;
|
||||
modelist[nummodes].width = modes[j]->w;
|
||||
modelist[nummodes].height = modes[j]->h;
|
||||
modelist[nummodes].modenum = 0;
|
||||
modelist[nummodes].fullscreen = 1;
|
||||
modelist[nummodes].bpp = bpps[i];
|
||||
|
||||
|
@ -1067,7 +1064,6 @@ void VID_Init (void)
|
|||
modelist[nummodes].type = MODE_FULLSCREEN_DEFAULT;
|
||||
modelist[nummodes].width = width;
|
||||
modelist[nummodes].height = height;
|
||||
modelist[nummodes].modenum = 0;
|
||||
modelist[nummodes].fullscreen = 1;
|
||||
modelist[nummodes].bpp = bpp;
|
||||
|
||||
|
|
Loading…
Reference in a new issue