mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-20 09:11:01 +00:00
viewrollangle: fill the empty hom with black by default
fills this mess with a blank color by default
This commit is contained in:
parent
58d02e6f2b
commit
932e0b2c88
1 changed files with 1 additions and 1 deletions
|
@ -2041,7 +2041,7 @@ Unoptimized version
|
|||
float yst = (INT32)round((sinma * -hwidth + cosma * -hheight) + hheight);
|
||||
|
||||
// Fills the empty space with a solid color from palette index
|
||||
//memset(screens[4], (UINT8)(31), vid.width*vid.height*vid.bpp);
|
||||
memset(screens[4], (UINT8)(31), vid.width*vid.height*vid.bpp);
|
||||
|
||||
#define OUT_OF_RANGE (xs < 0 || xs >= vid.width || ys < 0 || ys >= height)
|
||||
for (y = 0; y < hheight; y++) {
|
||||
|
|
Loading…
Reference in a new issue