- 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

View file

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