diff --git a/clutter/clutter/clutter-stage.c b/clutter/clutter/clutter-stage.c index 82565c6b5..e2b63e7fe 100644 --- a/clutter/clutter/clutter-stage.c +++ b/clutter/clutter/clutter-stage.c @@ -4526,8 +4526,8 @@ clutter_stage_paint_to_buffer (ClutterStage *stage, CoglFramebuffer *framebuffer; CoglBitmap *bitmap; - texture_width = (int) ceilf (rect->width * scale); - texture_height = (int) ceilf (rect->height * scale); + texture_width = (int) roundf (rect->width * scale); + texture_height = (int) roundf (rect->height * scale); texture = cogl_texture_2d_new_with_size (cogl_context, texture_width, texture_height);