[gtk/wip/otte/nodeeditor2: 32/32] 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: 32/32] gl renderer: Reset opacity when offscreen-rendering crossfade nodes
- Date: Sun, 5 May 2019 03:51:45 +0000 (UTC)
commit 78b6cf60d375234575ba13e931295b91568622d5
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]