Random optimization

This commit is contained in:
kd-11 2022-05-11 21:46:26 +03:00 committed by kd-11
parent 8cd7a44a25
commit 7e8c93bea2
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ namespace rsx
// Quick reverse scan to push commands ahead of time
for (auto It = m_pending_writes.rbegin(); It != m_pending_writes.rend(); ++It)
{
if (It->query && It->query->num_draws)
if (It->sink && It->query && It->query->num_draws)
{
if (It->query->sync_tag > m_sync_tag)
{