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:
parent
5ed2d990af
commit
c52a68a5be
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user