code cleanup
fix no dga on linux git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3720 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
227bc47130
commit
f21c352fb4
4 changed files with 7 additions and 39 deletions
|
@ -224,10 +224,6 @@ static unsigned int tbl_sdltoquakemouse[] =
|
|||
|
||||
int mouse_x, mouse_y;
|
||||
|
||||
#ifdef SWQUAKE
|
||||
void ResetFrameBuffers(void);
|
||||
#endif
|
||||
|
||||
void Sys_SendKeyEvents(void)
|
||||
{
|
||||
SDL_Event event;
|
||||
|
@ -251,13 +247,6 @@ void Sys_SendKeyEvents(void)
|
|||
vid.pixelwidth = event.resize.w;
|
||||
vid.pixelheight = event.resize.h;
|
||||
break;
|
||||
#endif
|
||||
#ifdef SWQUAKE
|
||||
case QR_SOFTWARE:
|
||||
vid.width = event.resize.w;
|
||||
vid.height = event.resize.h;
|
||||
ResetFrameBuffers();
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue