- RFF_UNCLIPPEDTEX is no longer supported in SoftPoly.

This commit is contained in:
Rachael Alexanderson 2017-08-18 23:04:11 -04:00
parent 05ca52d693
commit 1cddd1efaf
1 changed files with 7 additions and 3 deletions

View File

@ -382,12 +382,16 @@ void FSoftwareRenderer::CleanLevelData()
uint32_t FSoftwareRenderer::GetCaps()
{
ActorRenderFeatureFlags FlagSet = RFF_UNCLIPPEDTEX;
ActorRenderFeatureFlags FlagSet = 0;
if (r_polyrenderer)
FlagSet |= RFF_POLYGONAL | RFF_TILTPITCH | RFF_SLOPE3DFLOORS;
else if (r_drawvoxels)
FlagSet |= RFF_VOXELS;
else
{
FlagSet |= RFF_UNCLIPPEDTEX;
if (r_drawvoxels)
FlagSet |= RFF_VOXELS;
}
if (screen && screen->IsBgra())
FlagSet |= RFF_TRUECOLOR;