gl_engine: fix compile warnings

this statement may fall through [-Werror=implicit-fallthrough=]

Change-Id: I3cfc9b51697e229a524f6f75e10b83715b06ce13
This commit is contained in:
Hermet Park 2020-08-06 16:57:38 +09:00
parent ccde125cf5
commit d92fc13d8b

View file

@ -40,6 +40,7 @@ bool GlGeometry::decomposeOutline(const Shape &shape)
case PathCommand::MoveTo:
mPrimitives.push_back(GlPrimitive());
curPrimitive = &mPrimitives.back();
__attribute__ ((fallthrough));
case PathCommand::LineTo:
{
if (curPrimitive)