mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
non power of two skies (#1321)
This commit is contained in:
parent
3efb4a8b16
commit
cc079ce043
@ -423,8 +423,8 @@ static void do_draw_plane(visplane_t *pl)
|
|||||||
for (x = pl->minx; (dc_x = x) <= pl->maxx; x++)
|
for (x = pl->minx; (dc_x = x) <= pl->maxx; x++)
|
||||||
if ((dc_yl = pl->top[x]) != USHRT_MAX && dc_yl <= (dc_yh = pl->bottom[x]))
|
if ((dc_yl = pl->top[x]) != USHRT_MAX && dc_yl <= (dc_yh = pl->bottom[x]))
|
||||||
{
|
{
|
||||||
dc_source = R_GetColumn(texture, ((an + xtoskyangle[x])^flip) >>
|
dc_source = R_GetColumnMod(texture, ((an + xtoskyangle[x])^flip) >>
|
||||||
ANGLETOSKYSHIFT);
|
ANGLETOSKYSHIFT);
|
||||||
colfunc();
|
colfunc();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user