rsx: Make "Disable ZCull Occlusion" setting dynamic

This commit is contained in:
Eladash 2020-05-15 16:02:54 +03:00 committed by Ani
parent 3663a8ab4d
commit e2248332ae
2 changed files with 1 additions and 7 deletions

View file

@ -2312,9 +2312,6 @@ namespace rsx
void thread::check_zcull_status(bool framebuffer_swap)
{
if (g_cfg.video.disable_zcull_queries)
return;
if (framebuffer_swap)
{
zcull_surface_active = false;
@ -2346,9 +2343,6 @@ namespace rsx
void thread::clear_zcull_stats(u32 type)
{
if (g_cfg.video.disable_zcull_queries)
return;
zcull_ctrl->clear(this, type);
}