[gtk] gl renderer: Remove useless ops_offset calls
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] gl renderer: Remove useless ops_offset calls
- Date: Sat, 18 May 2019 12:09:59 +0000 (UTC)
commit dc7bf31b6ed69844b9aa262bb7f08b709f8946b0
Author: Timm Bäder <mail baedert org>
Date: Sat May 18 08:55:28 2019 +0200
gl renderer: Remove useless ops_offset calls
We add the shadow offset manually.
gsk/gl/gskglrenderer.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index 5fa1f795b8..b37c36afaa 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -1818,7 +1818,6 @@ render_shadow_node (GskGLRenderer *self,
shadow_child, &texture_id, &is_offscreen,
RESET_CLIP | RESET_OPACITY);
- ops_offset (builder, dx, dy);
ops_set_program (builder, &self->coloring_program);
ops_set_color (builder, &shadow->color);
ops_set_texture (builder, texture_id);
@@ -1850,8 +1849,6 @@ render_shadow_node (GskGLRenderer *self,
ops_draw (builder, onscreen_vertex_data);
}
-
- ops_offset (builder, - dx, - dy);
}
/* Now draw the child normally */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]