Draw 8-bit software renderer with polybackend (well, sort of!)

This commit is contained in:
Magnus Norddahl 2019-12-02 01:07:28 +01:00
commit 44c2223c2f
6 changed files with 10 additions and 15 deletions

View file

@ -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;