1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 11:52:12 +01:00

[dxvk] Fixed 32-bit compilation issue, derp

This commit is contained in:
Philip Rebohle 2018-02-25 00:18:30 +01:00
parent e8c98eac95
commit ce020e5bc9
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -1645,12 +1645,12 @@ namespace dxvk {
bool DxvkContext::validateComputeState() {
return m_cpActivePipeline != nullptr;
return m_cpActivePipeline != VK_NULL_HANDLE;
}
bool DxvkContext::validateGraphicsState() {
if (m_gpActivePipeline == nullptr)
if (m_gpActivePipeline == VK_NULL_HANDLE)
return false;
if (!m_flags.test(DxvkContextFlag::GpRenderPassBound))