diff options
Diffstat (limited to 'src/mesa/main/samplerobj.c')
-rw-r--r-- | src/mesa/main/samplerobj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/samplerobj.c b/src/mesa/main/samplerobj.c index 5aaae79a2c7..841e07f8a4c 100644 --- a/src/mesa/main/samplerobj.c +++ b/src/mesa/main/samplerobj.c @@ -981,7 +981,7 @@ _mesa_SamplerParameteri(GLuint sampler, GLenum pname, GLint param) res = set_sampler_reduction_mode(ctx, sampObj, param); break; case GL_TEXTURE_BORDER_COLOR: - /* fall-through */ + FALLTHROUGH; default: res = INVALID_PNAME; } @@ -1067,7 +1067,7 @@ _mesa_SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) res = set_sampler_reduction_mode(ctx, sampObj, (GLenum) param); break; case GL_TEXTURE_BORDER_COLOR: - /* fall-through */ + FALLTHROUGH; default: res = INVALID_PNAME; } |