renderer-x11-nested: Use rounded width/heights for fb size
https://bugzilla.gnome.org/show_bug.cgi?id=765011
This commit is contained in:
parent
eacf2f2187
commit
c5471e5b8b
1 changed files with 2 additions and 2 deletions
|
@ -202,8 +202,8 @@ meta_renderer_x11_nested_create_view (MetaRenderer *renderer,
|
|||
width = logical_monitor->rect.width;
|
||||
height = logical_monitor->rect.height;
|
||||
}
|
||||
width *= view_scale;
|
||||
height *= view_scale;
|
||||
width = roundf (width * view_scale);
|
||||
height = roundf (width * view_scale);
|
||||
|
||||
fake_onscreen = create_offscreen (cogl_context, width, height);
|
||||
|
||||
|
|
Loading…
Reference in a new issue