diff --git a/src/renderer/gl_engine/tvgGlTessellator.h b/src/renderer/gl_engine/tvgGlTessellator.h index 8cf03635..50f1411a 100644 --- a/src/renderer/gl_engine/tvgGlTessellator.h +++ b/src/renderer/gl_engine/tvgGlTessellator.h @@ -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* mResPoints; Array* mResIndices; - Point mLeftTop; - Point mRightBottom; + Point mLeftTop = {0.0f, 0.0f}; + Point mRightBottom = {0.0f, 0.0f}; }; } // namespace tvg