mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-24 04:52:46 +00:00
maxwell_to_vk: Silence -Wextra warnings about using different enum types
This commit is contained in:
parent
9477d23d70
commit
ad48259d7e
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue