Commit 6f7cf387 authored by Jan Möbius's avatar Jan Möbius
Browse files

size_t

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17161 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 9e9d5f2c
......@@ -536,9 +536,9 @@ getRenderObjects(IRenderer* _renderer, GLState& _state , const DrawModes::DrawM
if (line_mode_ == LineSegmentsMode)
ro.glDrawArrays(GL_LINES, 0, points_.size());
ro.glDrawArrays(GL_LINES, 0, int( points_.size() ));
else
ro.glDrawArrays(GL_LINE_STRIP, 0, points_.size());
ro.glDrawArrays(GL_LINE_STRIP, 0, int(points_.size()) );
_renderer->addRenderObject(&ro);
......
......@@ -163,7 +163,7 @@ public:
void add_color(const Color4f _c);
/// number of points
unsigned int n_points() const { return points_.size(); }
size_t n_points() const { return points_.size(); }
/**\brief return reference to point vector
*
......
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