Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ashton <joshua@froggi.es>2022-03-10 01:48:42 +0300
committerJoshua Ashton <joshua@froggi.es>2022-03-10 01:48:42 +0300
commite9b36e8cae0cbeb67a5daf497c6a159d8ca318b9 (patch)
treee7cc1a4ee0c01db0f434cd498eb2072fe2cb3460
parent83b9a1c46d1c72fa233ecab5e944a093d0686153 (diff)
[dxvk] Use new [[fallthrough]] attributefallthrough-stuff
-rw-r--r--src/dxvk/dxvk_image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dxvk/dxvk_image.cpp b/src/dxvk/dxvk_image.cpp
index cafb3baf..4a5ceaaa 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: {