[gtk/wip/otte/nodeeditor2: 57/57] gl renderer: Reset opacity when offscreen-rendering crossfade nodes
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/nodeeditor2: 57/57] gl renderer: Reset opacity when offscreen-rendering crossfade nodes
- Date: Sun, 5 May 2019 05:21:53 +0000 (UTC)
commit d5d48af7f78a3f590717dd1c8595d2c5bc0a65a0
Author: Timm Bäder <mail baedert org>
Date: Sat May 4 10:13:30 2019 +0200
gl renderer: Reset opacity when offscreen-rendering crossfade nodes
A pattern emerges...
gsk/gl/gskglrenderer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index 9342a031d5..6a5c098465 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -1883,13 +1883,13 @@ render_cross_fade_node (GskGLRenderer *self,
&node->bounds,
start_node,
&start_texture_id, &is_offscreen1,
- FORCE_OFFSCREEN | RESET_CLIP);
+ FORCE_OFFSCREEN | RESET_CLIP | RESET_OPACITY);
add_offscreen_ops (self, builder,
&node->bounds,
end_node,
&end_texture_id, &is_offscreen2,
- FORCE_OFFSCREEN | RESET_CLIP);
+ FORCE_OFFSCREEN | RESET_CLIP | RESET_OPACITY);
ops_set_program (builder, &self->cross_fade_program);
op.op = OP_CHANGE_CROSS_FADE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]