- transitioned the 2D drawer to FGameTexture.
This commit is contained in:
parent
d9928b51a8
commit
9e7094848c
21 changed files with 135 additions and 153 deletions
|
|
@ -86,7 +86,7 @@ void FSoftwareRenderer::PreparePrecache(FGameTexture *ttex, int cache)
|
|||
{
|
||||
bool isbgra = V_IsTrueColor();
|
||||
|
||||
if (ttex != nullptr && ttex->isValid() && !ttex->GetTexture()->isCanvas())
|
||||
if (ttex != nullptr && ttex->isValid() && !ttex->isSoftwareCanvas())
|
||||
{
|
||||
FSoftwareTexture *tex = GetSoftwareTexture(ttex);
|
||||
|
||||
|
|
@ -105,7 +105,7 @@ void FSoftwareRenderer::PrecacheTexture(FGameTexture *ttex, int cache)
|
|||
{
|
||||
bool isbgra = V_IsTrueColor();
|
||||
|
||||
if (ttex != nullptr && ttex->isValid() && !ttex->GetTexture()->isCanvas())
|
||||
if (ttex != nullptr && ttex->isValid() && !ttex->isSoftwareCanvas())
|
||||
{
|
||||
FSoftwareTexture *tex = GetSoftwareTexture(ttex);
|
||||
if (cache & FTextureManager::HIT_Columnmode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue