mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-03 13:24:20 +01:00
[dxvk] Do not invalidate iterator before disabling queries
Reported-by: Joshua Ashton <joshua@froggi.es>
This commit is contained in:
parent
70510bab9a
commit
8702374bf7
@ -320,10 +320,9 @@ namespace dxvk {
|
||||
query);
|
||||
|
||||
if (iter != m_activeQueries.end()) {
|
||||
m_activeQueries.erase(iter);
|
||||
|
||||
if (m_activeTypes & getQueryTypeBit((*iter)->type()))
|
||||
endSingleQuery(cmd, query);
|
||||
m_activeQueries.erase(iter);
|
||||
|
||||
query->end();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user