From 7151fbd59836252d2ca2dea43caf7b9c8b31d596 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Wed, 9 Mar 2022 22:48:42 +0000 Subject: [PATCH] [dxvk] Use new [[fallthrough]] attribute --- src/dxvk/dxvk_image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_image.cpp b/src/dxvk/dxvk_image.cpp index cafb3baff..4a5ceaaad 100644 --- a/src/dxvk/dxvk_image.cpp +++ b/src/dxvk/dxvk_image.cpp @@ -155,7 +155,7 @@ namespace dxvk { case VK_IMAGE_VIEW_TYPE_2D: case VK_IMAGE_VIEW_TYPE_2D_ARRAY: this->createView(VK_IMAGE_VIEW_TYPE_2D, 1); - /* fall through */ + [[fallthrough]]; case VK_IMAGE_VIEW_TYPE_CUBE: case VK_IMAGE_VIEW_TYPE_CUBE_ARRAY: {