mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-23 04:11:53 +00:00
Fix for not compiling in sw.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1652 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
470804d958
commit
4fa99b476c
1 changed files with 3 additions and 1 deletions
|
@ -1264,7 +1264,8 @@ void SCR_VRectForPlayer(vrect_t *vrect, int pnum)
|
|||
|
||||
case 2: //horizontal bands
|
||||
case 3:
|
||||
if (glwidth > glheight * 2)
|
||||
#ifdef GLQUAKE
|
||||
if (qrenderer == QR_OPENGL && glwidth > glheight * 2)
|
||||
{ //over twice as wide as high, assume duel moniter, horizontal.
|
||||
vrect->width = vid.width/cl.splitclients;
|
||||
vrect->height = vid.height;
|
||||
|
@ -1272,6 +1273,7 @@ void SCR_VRectForPlayer(vrect_t *vrect, int pnum)
|
|||
vrect->y = 0;
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
vrect->width = vid.width;
|
||||
vrect->height = vid.height/cl.splitclients;
|
||||
|
|
Loading…
Reference in a new issue