clutter: Change stage view scale to be float
To support fractional scaling, change the stage view scale to be a float instead of an int. Also change the places where it is retrieved and used when scaling things. https://bugzilla.gnome.org/show_bug.cgi?id=765011
This commit is contained in:
@@ -210,7 +210,7 @@ meta_renderer_x11_nested_create_view (MetaRenderer *renderer,
|
||||
"framebuffer", COGL_FRAMEBUFFER (fake_onscreen),
|
||||
"offscreen", COGL_FRAMEBUFFER (offscreen),
|
||||
"transform", view_transform,
|
||||
"scale", view_scale,
|
||||
"scale", (float) view_scale,
|
||||
"logical-monitor", logical_monitor,
|
||||
NULL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user