mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +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;
|
||||
StrokeJoin mStrokeJoin = StrokeJoin::Bevel;
|
||||
State mStrokeState = {};
|
||||
Point mLeftTop;
|
||||
Point mRightBottom;
|
||||
Point mLeftTop = {0.0f, 0.0f};
|
||||
Point mRightBottom = {0.0f, 0.0f};
|
||||
};
|
||||
|
||||
class DashStroke
|
||||
|
@ -176,8 +176,8 @@ private:
|
|||
|
||||
Array<float>* mResPoints;
|
||||
Array<uint32_t>* mResIndices;
|
||||
Point mLeftTop;
|
||||
Point mRightBottom;
|
||||
Point mLeftTop = {0.0f, 0.0f};
|
||||
Point mRightBottom = {0.0f, 0.0f};
|
||||
};
|
||||
|
||||
} // namespace tvg
|
||||
|
|
Loading…
Add table
Reference in a new issue