mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-24 07:08:58 +00:00
gl_engine: fix compile warnings
this statement may fall through [-Werror=implicit-fallthrough=] Change-Id: I3cfc9b51697e229a524f6f75e10b83715b06ce13
This commit is contained in:
parent
ccde125cf5
commit
d92fc13d8b
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue