1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-14 04:29:15 +01:00

Revert "[d3d11] Fixed fake event query"

This reverts commit dbf3fd768d18436636e18239758c5911efa674cf.
This commit is contained in:
Philip Rebohle 2018-02-26 14:33:17 +01:00
parent 00f6262ff3
commit 14845628c4
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -171,11 +171,8 @@ 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;
//