- merged the nearly identical wrapper texture classes for the software render and the wiper.

This commit is contained in:
Christoph Oelckers 2018-10-29 07:39:33 +01:00
commit 98e111eba0
7 changed files with 29 additions and 45 deletions

View file

@ -1489,6 +1489,23 @@ void FDummyTexture::SetSize (int width, int height)
CalcBitSize ();
}
//==========================================================================
//
//
//
//==========================================================================
FWrapperTexture::FWrapperTexture(int w, int h, int bits)
{
Width = w;
Height = h;
WidthBits = bits;
UseType = ETextureType::SWCanvas;
bNoCompress = true;
SystemTexture[0] = screen->CreateHardwareTexture(this);
}
//==========================================================================
//
// Debug stuff