In mt_cairo_render, using the viewport datarefs in window callbacks doesn't scale with the interface scaling setting. Before we used the matrices that XP gives us instead, because the draw_call_type dataref was (wrongly) set to 0 in window callbacks. We fix it by always using the matrices instead of the viewport XP provides us.
In mt_cairo_render, using the viewport datarefs in window callbacks doesn't scale with the interface scaling setting. Before we used the matrices that XP gives us instead, because the draw_call_type dataref was (wrongly) set to 0 in window callbacks. We fix it by always using the matrices instead of the viewport XP provides us.