Avoid some VC++ compiler warnings

This commit is contained in:
Alex Szpakowski
2015-04-02 00:28:09 -03:00
parent 2a6bffaa5a
commit cf0968fc6d
13 changed files with 25 additions and 26 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ void Polyline::render(const float *coords, size_t count, size_t size_hint, float
// prepare vertex arrays
if (draw_overdraw)
halfwidth -= pixel_size * .3;
halfwidth -= pixel_size * 0.3f;
// compute sleeve
bool is_looping = (coords[0] == coords[count - 2]) && (coords[1] == coords[count - 1]);