Triival cleanup

No need to go to the window, we store a copy of the scale factor
in the render pass object.
This commit is contained in:
Matthias Clasen 2017-10-28 14:38:21 -04:00
parent a48015d3c6
commit 439e1054c4

View File

@ -407,7 +407,7 @@ gsk_vulkan_render_pass_add_node (GskVulkanRenderPass *self,
op.text.start_glyph = 0;
op.text.texture_index = G_MAXUINT;
op.text.scale = gdk_window_get_scale_factor (gsk_renderer_get_window (GSK_RENDERER (renderer)));
op.text.scale = self->scale_factor;
for (i = 0, count = 0; i < num_glyphs; i++)
{