summaryrefslogtreecommitdiff
path: root/opengl/libagl/state.cpp
diff options
context:
space:
mode:
author Chih-Hung Hsieh <chh@google.com> 2018-10-19 14:23:46 -0700
committer Chih-Hung Hsieh <chh@google.com> 2018-10-19 14:23:46 -0700
commit1264e686f72cfa6b8078d141dccd09862605e255 (patch)
tree8f0b8083bc8117f0c34bb3dba4a413e42053f5bc /opengl/libagl/state.cpp
parentd88ac7f787eb4541a0afb8903f87267d039c98e1 (diff)
Fix implicit-fallthrough warnings.
Test: make checkbuild Bug: 112564944 Change-Id: I037abe443a47a12136744b8eb3720f75ecd9b578
Diffstat (limited to 'opengl/libagl/state.cpp')
-rw-r--r--opengl/libagl/state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libagl/state.cpp b/opengl/libagl/state.cpp
index 1d5def5896..8bb7e83820 100644
--- a/opengl/libagl/state.cpp
+++ b/opengl/libagl/state.cpp
@@ -181,7 +181,7 @@ static void enable_disable(ogles_context_t* c, GLenum cap, int enabled)
case GL_FOG:
case GL_DEPTH_TEST:
ogles_invalidate_perspective(c);
- // fall-through...
+ [[fallthrough]];
case GL_BLEND:
case GL_SCISSOR_TEST:
case GL_ALPHA_TEST: