- decoupled the software renderer entirely from FTexture - it will only look at FSoftwareTexture now, all access to the texture manager has been wrapped.
This commit is contained in:
parent
73b4fbe861
commit
9593cb56ae
23 changed files with 170 additions and 162 deletions
|
|
@ -114,13 +114,7 @@ namespace swrenderer
|
|||
}
|
||||
else // regular flat
|
||||
{
|
||||
FTexture *ttex = TexMan.GetPalettedTexture(picnum, true);
|
||||
|
||||
if (!ttex->isValid())
|
||||
{
|
||||
return;
|
||||
}
|
||||
FSoftwareTexture *tex = ttex->GetSoftwareTexture();
|
||||
auto tex = GetPalettedSWTexture(picnum, true);
|
||||
|
||||
if (!masked && !additive)
|
||||
{ // If we're not supposed to see through this plane, draw it opaque.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue