- moved the bit size variables to FSoftwareTexture

They are only needed by the software rasterizer.
This commit is contained in:
Christoph Oelckers 2018-12-07 02:13:11 +01:00
commit bde3558dc2
22 changed files with 61 additions and 129 deletions

View file

@ -92,9 +92,7 @@ FFlatTexture::FFlatTexture (int lumpnum)
bMasked = false;
bTranslucent = false;
WidthBits = HeightBits = bits;
Width = Height = 1 << bits;
WidthMask = (1 << bits) - 1;
}
//==========================================================================