mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-27 13:54:16 +01:00
[dxvk] Fix initial query state
Trying to retrieve data from newly created D3D11 queries is supposed to return S_FALSE and not return data, so we shouldn't mark the query as available immediately after creation.
This commit is contained in:
parent
e48c27ac30
commit
45f61cbae5
@ -190,7 +190,7 @@ namespace dxvk {
|
||||
|
||||
std::mutex m_mutex;
|
||||
|
||||
DxvkQueryStatus m_status = DxvkQueryStatus::Available;
|
||||
DxvkQueryStatus m_status = DxvkQueryStatus::Reset;
|
||||
DxvkQueryData m_data = {};
|
||||
DxvkQueryHandle m_handle;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user