diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-24 08:03:36 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-24 08:03:36 +0100 |
commit | ad48259d7eac63f3967459d18980e9dcc38fd0f6 (patch) | |
tree | ae42755b4f60431f2a1c2c2d83f29d46170115e8 /src/video_core | |
parent | shader_ir: Fix comment typo (diff) | |
download | yuzu-ad48259d7eac63f3967459d18980e9dcc38fd0f6.tar yuzu-ad48259d7eac63f3967459d18980e9dcc38fd0f6.tar.gz yuzu-ad48259d7eac63f3967459d18980e9dcc38fd0f6.tar.bz2 yuzu-ad48259d7eac63f3967459d18980e9dcc38fd0f6.tar.lz yuzu-ad48259d7eac63f3967459d18980e9dcc38fd0f6.tar.xz yuzu-ad48259d7eac63f3967459d18980e9dcc38fd0f6.tar.zst yuzu-ad48259d7eac63f3967459d18980e9dcc38fd0f6.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_vulkan/maxwell_to_vk.cpp | 2 | ||||
-rw-r--r-- | src/video_core/renderer_vulkan/maxwell_to_vk.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp index ca7c2c579..1062bf5a9 100644 --- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp +++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp @@ -671,7 +671,7 @@ VkFrontFace FrontFace(Maxwell::FrontFace front_face) { return {}; } -VkCullModeFlags CullFace(Maxwell::CullFace cull_face) { +VkCullModeFlagBits CullFace(Maxwell::CullFace cull_face) { switch (cull_face) { case Maxwell::CullFace::Front: return VK_CULL_MODE_FRONT_BIT; diff --git a/src/video_core/renderer_vulkan/maxwell_to_vk.h b/src/video_core/renderer_vulkan/maxwell_to_vk.h index 537969840..c1494f554 100644 --- a/src/video_core/renderer_vulkan/maxwell_to_vk.h +++ b/src/video_core/renderer_vulkan/maxwell_to_vk.h @@ -55,7 +55,7 @@ VkBlendFactor BlendFactor(Maxwell::Blend::Factor factor); VkFrontFace FrontFace(Maxwell::FrontFace front_face); -VkCullModeFlags CullFace(Maxwell::CullFace cull_face); +VkCullModeFlagBits CullFace(Maxwell::CullFace cull_face); VkComponentSwizzle SwizzleSource(Tegra::Texture::SwizzleSource swizzle); |