- minor cleanup and allow FHardwareTexture to restore the old bindings after creating a texture.
This commit is contained in:
parent
5666e4c805
commit
86d851bc5c
4 changed files with 11 additions and 5 deletions
|
|
@ -774,7 +774,7 @@ FWrapperTexture::FWrapperTexture(int w, int h, int bits)
|
|||
Format = bits;
|
||||
UseType = ETextureType::SWCanvas;
|
||||
bNoCompress = true;
|
||||
SystemTexture[0] = screen->CreateHardwareTexture(this);
|
||||
SystemTexture[0] = screen->CreateHardwareTexture();
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue