[d3d11] Fixed fake event query

This commit is contained in:
Philip Rebohle 2018-02-23 13:21:09 +01:00
parent 3d17eb68b9
commit dbf3fd768d
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 3 additions and 0 deletions

View File

@ -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;
//