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

[dxvk] Fix typo that breaks HDR metadata

This commit is contained in:
Philip Rebohle 2025-01-16 17:46:50 +01:00
parent 5ed2d990af
commit c52a68a5be

View File

@ -338,7 +338,7 @@ namespace dxvk {
void Presenter::setHdrMetadata(VkHdrMetadataEXT hdrMetadata) {
std::lock_guard lock(m_surfaceMutex);
if (m_hdrMetadata->sType != VK_STRUCTURE_TYPE_HDR_METADATA_EXT) {
if (hdrMetadata.sType != VK_STRUCTURE_TYPE_HDR_METADATA_EXT) {
m_hdrMetadata = std::nullopt;
return;
}