[gtk+/wip/otte/rendernode] xxx: f2411e
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/otte/rendernode] xxx: f2411e
- Date: Tue, 13 Dec 2016 08:49:56 +0000 (UTC)
commit bfadb9bb7f988055f7ea5787feadd33e193bae39
Author: Benjamin Otte <otte redhat com>
Date: Tue Dec 13 09:04:30 2016 +0100
xxx: f2411e
gsk/gskglrenderer.c | 2 +-
gsk/gskvulkanrenderpass.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gsk/gskglrenderer.c b/gsk/gskglrenderer.c
index f48d763..041d5f9 100644
--- a/gsk/gskglrenderer.c
+++ b/gsk/gskglrenderer.c
@@ -770,7 +770,7 @@ gsk_gl_renderer_add_render_item (GskGLRenderer *self,
ceil (bounds.size.width),
ceil (bounds.size.height));
cr = cairo_create (surface);
- cairo_translate (cr, bounds.origin.x, bounds.origin.y);
+ cairo_translate (cr, -bounds.origin.x, -bounds.origin.y);
gsk_render_node_draw (node, cr);
diff --git a/gsk/gskvulkanrenderpass.c b/gsk/gskvulkanrenderpass.c
index a158306..9b28951 100644
--- a/gsk/gskvulkanrenderpass.c
+++ b/gsk/gskvulkanrenderpass.c
@@ -146,7 +146,7 @@ gsk_vulkan_render_pass_upload_fallback (GskVulkanRenderPass *self,
ceil (bounds.size.width),
ceil (bounds.size.height));
cr = cairo_create (surface);
- cairo_translate (cr, bounds.origin.x, bounds.origin.y);
+ cairo_translate (cr, -bounds.origin.x, -bounds.origin.y);
gsk_render_node_draw (op->node, cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]