mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-13 11:36:25 +00:00
gl_engine: initialize members properly.
corrected a regression of uninitialized data value access.
This commit is contained in:
parent
1e9609c6f7
commit
b2622193b2
1 changed files with 4 additions and 4 deletions
|
@ -115,8 +115,8 @@ private:
|
||||||
StrokeCap mStrokeCap = StrokeCap::Square;
|
StrokeCap mStrokeCap = StrokeCap::Square;
|
||||||
StrokeJoin mStrokeJoin = StrokeJoin::Bevel;
|
StrokeJoin mStrokeJoin = StrokeJoin::Bevel;
|
||||||
State mStrokeState = {};
|
State mStrokeState = {};
|
||||||
Point mLeftTop;
|
Point mLeftTop = {0.0f, 0.0f};
|
||||||
Point mRightBottom;
|
Point mRightBottom = {0.0f, 0.0f};
|
||||||
};
|
};
|
||||||
|
|
||||||
class DashStroke
|
class DashStroke
|
||||||
|
@ -176,8 +176,8 @@ private:
|
||||||
|
|
||||||
Array<float>* mResPoints;
|
Array<float>* mResPoints;
|
||||||
Array<uint32_t>* mResIndices;
|
Array<uint32_t>* mResIndices;
|
||||||
Point mLeftTop;
|
Point mLeftTop = {0.0f, 0.0f};
|
||||||
Point mRightBottom;
|
Point mRightBottom = {0.0f, 0.0f};
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace tvg
|
} // namespace tvg
|
||||||
|
|
Loading…
Add table
Reference in a new issue