mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
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
@ -202,8 +202,8 @@ meta_renderer_x11_nested_create_view (MetaRenderer *renderer,
|
|||||||
width = logical_monitor->rect.width;
|
width = logical_monitor->rect.width;
|
||||||
height = logical_monitor->rect.height;
|
height = logical_monitor->rect.height;
|
||||||
}
|
}
|
||||||
width *= view_scale;
|
width = roundf (width * view_scale);
|
||||||
height *= view_scale;
|
height = roundf (width * view_scale);
|
||||||
|
|
||||||
fake_onscreen = create_offscreen (cogl_context, width, height);
|
fake_onscreen = create_offscreen (cogl_context, width, height);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user