Draw 8-bit software renderer with polybackend (well, sort of!)
This commit is contained in:
parent
4a2b763aaa
commit
44c2223c2f
6 changed files with 10 additions and 15 deletions
|
|
@ -86,7 +86,7 @@ SWSceneDrawer::~SWSceneDrawer()
|
|||
|
||||
sector_t *SWSceneDrawer::RenderView(player_t *player)
|
||||
{
|
||||
if (!screen->IsPoly())
|
||||
if (!V_IsTrueColor() || !screen->IsPoly())
|
||||
{
|
||||
// Avoid using the pixel buffer from the last frame
|
||||
FBTextureIndex = (FBTextureIndex + 1) % 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue