- more texture cleanup.
It is now in a state where FTexture really needs to be separated from FGameTexture.
This commit is contained in:
parent
31035a6cea
commit
83817080bb
21 changed files with 91 additions and 103 deletions
|
|
@ -308,7 +308,7 @@ IHardwareTexture *OpenGLFrameBuffer::CreateHardwareTexture()
|
|||
|
||||
void OpenGLFrameBuffer::PrecacheMaterial(FMaterial *mat, int translation)
|
||||
{
|
||||
if (mat->Source()->isSWCanvas()) return;
|
||||
if (mat->Source()->GetUseType() == ETextureType::SWCanvas) return;
|
||||
|
||||
int flags = mat->isExpanded() ? CTF_Expand : 0;
|
||||
int numLayers = mat->GetLayers();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue