mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Fix typo in RefreshBackground(), for viewable area resizing
This commit is contained in:
parent
aa4bf2bb26
commit
c06526f24b
1 changed files with 2 additions and 2 deletions
|
@ -203,9 +203,9 @@ void RefreshBackground()
|
||||||
|
|
||||||
MaskStatus();
|
MaskStatus();
|
||||||
|
|
||||||
for (int y = 0; y < xdim; y += tileY)
|
for (int y = 0; y < ydim; y += tileY)
|
||||||
{
|
{
|
||||||
for (int x = 0; x < ydim; x += tileX)
|
for (int x = 0; x < xdim; x += tileX)
|
||||||
{
|
{
|
||||||
overwritesprite(x, y, nBackgroundPic + nTileOffset, -32, 0, kPalNormal);
|
overwritesprite(x, y, nBackgroundPic + nTileOffset, -32, 0, kPalNormal);
|
||||||
if (nTileOffset == 0) {
|
if (nTileOffset == 0) {
|
||||||
|
|
Loading…
Reference in a new issue