Kaydet (Commit) 0e24a6a5 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

one more error

Change-Id: I7a40d5583a76d0b553a828bd2657c77fdca0f59a
üst d17418d6
......@@ -554,6 +554,7 @@ int OpenGLRender::SetLine2DShapePoint(float x, float y, int listLength)
if (m_Line2DPointList.size() == size_t(listLength * 3))
{
m_Line2DShapePointList.push_back(m_Line2DPointList);
m_Line2DPointList.clear();
}
return 0;
}
......@@ -1651,6 +1652,7 @@ int OpenGLRender::SetArea2DShapePoint(float x, float y, int listLength)
if (m_Area2DPointList.size() == size_t(listLength * 3))
{
m_Area2DShapePointList.push_back(m_Area2DPointList);
m_Area2DPointList.clear();
}
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment