- continued work on texture management.
This commit is contained in:
parent
fb6ee5046c
commit
c5447f0cdd
18 changed files with 79 additions and 140 deletions
|
|
@ -790,7 +790,9 @@ FWrapperTexture::FWrapperTexture(int w, int h, int bits)
|
|||
Format = bits;
|
||||
UseType = ETextureType::SWCanvas;
|
||||
bNoCompress = true;
|
||||
SystemTextures.AddHardwareTexture(0, false, screen->CreateHardwareTexture());
|
||||
auto hwtex = screen->CreateHardwareTexture();
|
||||
// todo: Initialize here.
|
||||
SystemTextures.AddHardwareTexture(0, false, hwtex);
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue