[gtk/wip/baedert/gl-rework: 126/127] gl renderer: Fix inverted dy in inset shadows
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/gl-rework: 126/127] gl renderer: Fix inverted dy in inset shadows
- Date: Mon, 30 Dec 2019 04:21:34 +0000 (UTC)
commit 784c9f362e98a2fb72dccf19f509547937d136cc
Author: Timm Bäder <mail baedert org>
Date: Sun Dec 29 16:43:51 2019 +0100
gl renderer: Fix inverted dy in inset shadows
gsk/gl/gskglrenderer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index d9fa0e9a98..a1d100a3db 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -1602,7 +1602,7 @@ render_inset_shadow_node (GskGLRenderer *self,
op->outline = transform_rect (self, builder, &outline_to_blur);
op->spread = spread * scale;
op->offset[0] = dx * scale;
- op->offset[1] = -dy * scale;
+ op->offset[1] = dy * scale;
ops_draw (builder, (GskQuadVertex[GL_N_VERTICES]) {
{ { 0, 0 }, { 0, 1 }, },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]