Replaces FALLTHROUGH macro by attribute

It was forgotten during removing the FALLTHROUGH macro in
b41ca5ad78.
This commit is contained in:
Vladislav Belov
2026-05-22 23:25:31 +02:00
parent a0ecfbaa33
commit 1250ca1dac
+2 -2
View File
@@ -213,8 +213,8 @@ std::unique_ptr<CTexture> CTexture::Create(
break;
#if CONFIG2_GLES
// GLES requires pixel type == UNSIGNED_SHORT or UNSIGNED_INT for depth.
case Format::D16_UNORM: FALLTHROUGH;
case Format::D24_UNORM: FALLTHROUGH;
case Format::D16_UNORM: [[fallthrough]];
case Format::D24_UNORM: [[fallthrough]];
case Format::D32_SFLOAT:
internalFormat = GL_DEPTH_COMPONENT;
pixelFormat = GL_DEPTH_COMPONENT;