- merged the nearly identical wrapper texture classes for the software render and the wiper.
This commit is contained in:
parent
6dc47ff328
commit
98e111eba0
7 changed files with 29 additions and 45 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue