mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Resolved compiler warning
This commit is contained in:
@@ -283,10 +283,8 @@ void Polyline::render_overdraw(const std::vector<Vector> &normals, float pixel_s
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void NoneJoinPolyline::render_overdraw(const std::vector<Vector> &normals, float pixel_size, bool is_looping)
|
void NoneJoinPolyline::render_overdraw(const std::vector<Vector> &/*normals*/, float pixel_size, bool /*is_looping*/)
|
||||||
{
|
{
|
||||||
(void)is_looping;
|
|
||||||
|
|
||||||
overdraw_vertex_count = 4 * (vertex_count-2); // less than ideal
|
overdraw_vertex_count = 4 * (vertex_count-2); // less than ideal
|
||||||
overdraw = new Vector[overdraw_vertex_count];
|
overdraw = new Vector[overdraw_vertex_count];
|
||||||
for (size_t i = 2; i + 3 < vertex_count; i += 4)
|
for (size_t i = 2; i + 3 < vertex_count; i += 4)
|
||||||
|
|||||||
Reference in New Issue
Block a user