mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-02-05 13:20:56 +00:00
In fake multi, never draw the screen rotated.
git-svn-id: https://svn.eduke32.com/eduke32@2903 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
4fc1376fcb
commit
d60bffd35d
1 changed files with 2 additions and 2 deletions
|
@ -3408,7 +3408,7 @@ void G_DrawRooms(int32_t snum, int32_t smoothratio)
|
||||||
|
|
||||||
const int32_t vr = divscale22(1,sprite[p->i].yrepeat+28);
|
const int32_t vr = divscale22(1,sprite[p->i].yrepeat+28);
|
||||||
const int32_t software_screen_tilting =
|
const int32_t software_screen_tilting =
|
||||||
(getrendermode() == 0 && ((ud.screen_tilting && p->rotscrnang) || !ud.detail));
|
(getrendermode() == 0 && ((ud.screen_tilting && p->rotscrnang && !g_fakeMultiMode) || !ud.detail));
|
||||||
|
|
||||||
if (!r_usenewaspect)
|
if (!r_usenewaspect)
|
||||||
{
|
{
|
||||||
|
@ -3492,7 +3492,7 @@ void G_DrawRooms(int32_t snum, int32_t smoothratio)
|
||||||
tmpvr = i>>1;
|
tmpvr = i>>1;
|
||||||
tmpyx = (65536*ydim*8)/(xdim*5);
|
tmpyx = (65536*ydim*8)/(xdim*5);
|
||||||
}
|
}
|
||||||
else if (getrendermode() > 0 && ud.screen_tilting /*&& (p->rotscrnang || p->orotscrnang)*/)
|
else if (getrendermode() > 0 && (ud.screen_tilting && !g_fakeMultiMode) /*&& (p->rotscrnang || p->orotscrnang)*/)
|
||||||
{
|
{
|
||||||
#ifdef USE_OPENGL
|
#ifdef USE_OPENGL
|
||||||
setrollangle(p->orotscrnang + mulscale16(((p->rotscrnang - p->orotscrnang + 1024)&2047)-1024, smoothratio));
|
setrollangle(p->orotscrnang + mulscale16(((p->rotscrnang - p->orotscrnang + 1024)&2047)-1024, smoothratio));
|
||||||
|
|
Loading…
Reference in a new issue