mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1247532 - Annotate intentional switch fallthrough to suppress -Wimplicit-fallthrough warning in dom/canvas/. r=jgilbert
dom/canvas/WebGLContextGL.cpp:845:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
This commit is contained in:
parent
5d4f1a88a6
commit
788436a3eb
@ -838,7 +838,7 @@ WebGLContext::GetRenderbufferParameter(GLenum target, GLenum pname)
|
||||
case LOCAL_GL_RENDERBUFFER_SAMPLES:
|
||||
if (!IsWebGL2())
|
||||
break;
|
||||
// fallthrough
|
||||
MOZ_FALLTHROUGH;
|
||||
|
||||
case LOCAL_GL_RENDERBUFFER_WIDTH:
|
||||
case LOCAL_GL_RENDERBUFFER_HEIGHT:
|
||||
|
Loading…
Reference in New Issue
Block a user