diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-01-29 13:28:08 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-02-02 14:23:02 +0000 |
commit | 0a4b139ddf2d24d18cc70f779fa7022ca6b601b6 (patch) | |
tree | 8e3bb643841dc570e4415f856cd704d97cb6e3ee /video/out/gpu/shader_cache.c | |
parent | 08cd7c1e290083caf2707cae3b13f733c4e6b290 (diff) | |
download | mpv-0a4b139ddf2d24d18cc70f779fa7022ca6b601b6.tar.bz2 mpv-0a4b139ddf2d24d18cc70f779fa7022ca6b601b6.tar.xz |
osdep: add MP_FALLTHROUGH
Diffstat (limited to 'video/out/gpu/shader_cache.c')
-rw-r--r-- | video/out/gpu/shader_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gpu/shader_cache.c b/video/out/gpu/shader_cache.c index 302508b543..9eedb1cd07 100644 --- a/video/out/gpu/shader_cache.c +++ b/video/out/gpu/shader_cache.c @@ -699,7 +699,7 @@ static void add_uniforms(struct gl_shader_cache *sc, bstr *dst) case RA_VARTYPE_INT: case RA_VARTYPE_FLOAT: assert(sc->ra->caps & RA_CAP_GLOBAL_UNIFORM); - // fall through + MP_FALLTHROUGH; case RA_VARTYPE_TEX: // Vulkan requires explicitly assigning the bindings in the shader // source. For OpenGL it's optional, but requires higher GL version |