diff --git a/gsk/gskvulkanrenderpass.c b/gsk/gskvulkanrenderpass.c index 6b83e8ad44..029c99ecf0 100644 --- a/gsk/gskvulkanrenderpass.c +++ b/gsk/gskvulkanrenderpass.c @@ -909,7 +909,7 @@ gsk_vulkan_render_pass_upload (GskVulkanRenderPass *self, { cairo_surface_t *surface; - surface = gsk_cairo_node_peek_surface (op->render.node); + surface = (cairo_surface_t *)gsk_cairo_node_peek_surface (op->render.node); op->render.source = gsk_vulkan_image_new_from_data (uploader, cairo_image_surface_get_data (surface), cairo_image_surface_get_width (surface), @@ -1224,8 +1224,8 @@ gsk_vulkan_render_pass_collect_vertex_data (GskVulkanRenderPass *self, data + n_bytes + offset, GSK_VULKAN_RENDERER (gsk_vulkan_render_get_renderer (render)), &op->text.node->bounds, - gsk_text_node_peek_font (op->text.node), - gsk_text_node_peek_glyphs (op->text.node), + (PangoFont *)gsk_text_node_peek_font (op->text.node), + (PangoGlyphString *)gsk_text_node_peek_glyphs (op->text.node), gsk_text_node_peek_color (op->text.node), gsk_text_node_get_x (op->text.node), gsk_text_node_get_y (op->text.node), @@ -1242,8 +1242,8 @@ gsk_vulkan_render_pass_collect_vertex_data (GskVulkanRenderPass *self, data + n_bytes + offset, GSK_VULKAN_RENDERER (gsk_vulkan_render_get_renderer (render)), &op->text.node->bounds, - gsk_text_node_peek_font (op->text.node), - gsk_text_node_peek_glyphs (op->text.node), + (PangoFont *)gsk_text_node_peek_font (op->text.node), + (PangoGlyphString *)gsk_text_node_peek_glyphs (op->text.node), gsk_text_node_get_x (op->text.node), gsk_text_node_get_y (op->text.node), op->text.start_glyph,