mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
move perfquery enable checks into videocommon (caller side)
This commit is contained in:
parent
5a660c27bc
commit
1f4219b5b4
8 changed files with 9 additions and 52 deletions
|
@ -216,9 +216,7 @@ void VertexManager::vFlush(bool useDstAlpha)
|
|||
g_nativeVertexFmt->SetupVertexPointers();
|
||||
g_renderer->ApplyState(useDstAlpha);
|
||||
|
||||
g_perf_query->EnableQuery(bpmem.zcontrol.early_ztest ? PQG_ZCOMP_ZCOMPLOC : PQG_ZCOMP);
|
||||
Draw(stride);
|
||||
g_perf_query->DisableQuery(bpmem.zcontrol.early_ztest ? PQG_ZCOMP_ZCOMPLOC : PQG_ZCOMP);
|
||||
|
||||
g_renderer->RestoreState();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue