- fixed: GetCaps() did not account for r_drawvoxels cvar
This commit is contained in:
parent
d5733f515c
commit
c07a4461a0
2 changed files with 7 additions and 3 deletions
|
|
@ -60,7 +60,8 @@ CUSTOM_CVAR (Bool, cl_oldfreelooklimit, false, CVAR_ARCHIVE | CVAR_GLOBALCONFIG
|
|||
}
|
||||
|
||||
EXTERN_CVAR(Bool, r_shadercolormaps)
|
||||
EXTERN_CVAR(Float, maxviewpitch) // [SP] CVAR from GZDoom
|
||||
EXTERN_CVAR(Float, maxviewpitch) // [SP] CVAR from OpenGL Renderer
|
||||
EXTERN_CVAR(Bool, r_drawvoxels)
|
||||
|
||||
CUSTOM_CVAR(Bool, r_polyrenderer, 0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
|
||||
{
|
||||
|
|
@ -385,7 +386,7 @@ uint32_t FSoftwareRenderer::GetCaps()
|
|||
|
||||
if (r_polyrenderer)
|
||||
FlagSet |= RFF_POLYGONAL | RFF_TILTPITCH;
|
||||
else
|
||||
else if (r_drawvoxels)
|
||||
FlagSet |= RFF_VOXELS;
|
||||
|
||||
if (screen && screen->IsBgra())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue