Skip to content

Commit

Permalink
[dxvk] Fix typo that breaks HDR metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
doitsujin committed Jan 16, 2025
1 parent 5ed2d99 commit c52a68a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dxvk/dxvk_presenter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c52a68a

Please sign in to comment.