mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 02:52:10 +01:00
[d3d11] Fixed fake event query
This commit is contained in:
parent
3d17eb68b9
commit
dbf3fd768d
@ -171,8 +171,11 @@ namespace dxvk {
|
||||
// FIXME returning query data seems to lock up some
|
||||
// games for some reason, so we have to disable it.
|
||||
if (m_desc.Query == D3D11_QUERY_EVENT) {
|
||||
if (pData != nullptr)
|
||||
*static_cast<BOOL*>(pData) = TRUE;
|
||||
return S_OK;
|
||||
// const bool signaled = m_event->getStatus() == DxvkEventStatus::Signaled;
|
||||
//
|
||||
// if (pData != nullptr)
|
||||
// *static_cast<BOOL*>(pData) = signaled;
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user