mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
renderer-view: Drop bogus meta_monitor_transform_invert()
It papered over wrong `meta_rectangle_transform()` behaviour for non-flipped output transforms. Also there is no obvious reason why we would need inverted values here. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2459>
This commit is contained in:
parent
0c34908132
commit
0c12903352
@ -136,12 +136,9 @@ meta_renderer_view_transform_rect_to_onscreen (ClutterStageView *view
|
|||||||
cairo_rectangle_int_t *dst_rect)
|
cairo_rectangle_int_t *dst_rect)
|
||||||
{
|
{
|
||||||
MetaRendererView *renderer_view = META_RENDERER_VIEW (view);
|
MetaRendererView *renderer_view = META_RENDERER_VIEW (view);
|
||||||
MetaMonitorTransform inverted_transform;
|
|
||||||
|
|
||||||
inverted_transform =
|
|
||||||
meta_monitor_transform_invert (renderer_view->transform);
|
|
||||||
return meta_rectangle_transform (src_rect,
|
return meta_rectangle_transform (src_rect,
|
||||||
inverted_transform,
|
renderer_view->transform,
|
||||||
dst_width,
|
dst_width,
|
||||||
dst_height,
|
dst_height,
|
||||||
dst_rect);
|
dst_rect);
|
||||||
|
Loading…
Reference in New Issue
Block a user