mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Fix off-by-one error in setview()
git-svn-id: https://svn.eduke32.com/eduke32@4920 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
cdaa25ef07
commit
0b1582185e
1 changed files with 1 additions and 1 deletions
|
@ -15103,7 +15103,7 @@ void setview(int32_t x1, int32_t y1, int32_t x2, int32_t y2)
|
|||
setaspect_new();
|
||||
|
||||
for (i=0; i<windowx1; i++) { startumost[i] = 1, startdmost[i] = 0; }
|
||||
for (i=windowx1; i<=windowx2; i++)
|
||||
for (i=windowx1; i<windowx2; i++)
|
||||
{ startumost[i] = windowy1, startdmost[i] = windowy2+1; }
|
||||
for (i=windowx2+1; i<xdim; i++) { startumost[i] = 1, startdmost[i] = 0; }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue