From e4630685e4a30c04bd96b0a493aea2cb4ab82a72 Mon Sep 17 00:00:00 2001 From: Jeff Date: Mon, 14 Oct 2024 21:13:13 -0700 Subject: [PATCH] [d3d9] Fix mismatched case in MultiSample and MultisampleQuality --- src/d3d9/d3d9_interfaces.h | 2 +- src/d3d9/d3d9_interop.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d3d9/d3d9_interfaces.h b/src/d3d9/d3d9_interfaces.h index 89cf4072..f25ac26d 100644 --- a/src/d3d9/d3d9_interfaces.h +++ b/src/d3d9/d3d9_interfaces.h @@ -88,7 +88,7 @@ struct D3D9VkExtImageDesc { D3DFORMAT Format; D3DPOOL Pool; D3DMULTISAMPLE_TYPE MultiSample; // Must be NONE unless Type is SURFACE - DWORD MultisampleQuality; + DWORD MultiSampleQuality; bool Discard; // Depth stencils only bool IsAttachmentOnly; // If false, then VK_IMAGE_USAGE_SAMPLED_BIT will be added bool IsLockable; diff --git a/src/d3d9/d3d9_interop.cpp b/src/d3d9/d3d9_interop.cpp index 6c7aa795..5d2c4691 100644 --- a/src/d3d9/d3d9_interop.cpp +++ b/src/d3d9/d3d9_interop.cpp @@ -290,7 +290,7 @@ namespace dxvk { desc.Pool = params->Pool; desc.Discard = params->Discard; desc.MultiSample = params->MultiSample; - desc.MultisampleQuality = params->MultisampleQuality; + desc.MultisampleQuality = params->MultiSampleQuality; desc.IsBackBuffer = FALSE; desc.IsAttachmentOnly = params->IsAttachmentOnly; desc.IsLockable = params->IsLockable;