llvmpipe: use util_iround in place of round

Fix mingw build.
This commit is contained in:
Keith Whitwell
2010-08-27 13:40:23 +01:00
parent 04f8560dd8
commit 55f4eab93c
+1 -1
View File
@@ -280,7 +280,7 @@ lp_setup_line( struct lp_setup_context *setup,
int nr_planes = 4;
/* linewidth should be interpreted as integer */
int fixed_width = subpixel_snap(round(width));
int fixed_width = util_iround(width) * FIXED_ONE;
float x_offset=0;
float y_offset=0;