mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 08:31:45 +00:00
- RFF_UNCLIPPEDTEX is no longer supported in SoftPoly.
This commit is contained in:
parent
05ca52d693
commit
1cddd1efaf
1 changed files with 7 additions and 3 deletions
|
@ -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_VOXELS;
|
{
|
||||||
|
FlagSet |= RFF_UNCLIPPEDTEX;
|
||||||
|
if (r_drawvoxels)
|
||||||
|
FlagSet |= RFF_VOXELS;
|
||||||
|
}
|
||||||
|
|
||||||
if (screen && screen->IsBgra())
|
if (screen && screen->IsBgra())
|
||||||
FlagSet |= RFF_TRUECOLOR;
|
FlagSet |= RFF_TRUECOLOR;
|
||||||
|
|
Loading…
Reference in a new issue