diff options
Diffstat (limited to 'Ryujinx.Graphics.Vulkan/FramebufferParams.cs')
-rw-r--r-- | Ryujinx.Graphics.Vulkan/FramebufferParams.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Vulkan/FramebufferParams.cs b/Ryujinx.Graphics.Vulkan/FramebufferParams.cs index 43ee6f5c..1b99a609 100644 --- a/Ryujinx.Graphics.Vulkan/FramebufferParams.cs +++ b/Ryujinx.Graphics.Vulkan/FramebufferParams.cs @@ -32,6 +32,7 @@ namespace Ryujinx.Graphics.Vulkan Auto<DisposableImageView> view, uint width, uint height, + uint samples, bool isDepthStencil, VkFormat format) { @@ -43,7 +44,7 @@ namespace Ryujinx.Graphics.Vulkan Height = height; Layers = 1; - AttachmentSamples = new[] { 1u }; + AttachmentSamples = new[] { samples }; AttachmentFormats = new[] { format }; AttachmentIndices = new[] { 0 }; |