[gtk] gl renderer: Remove some dead code
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] gl renderer: Remove some dead code
- Date: Sat, 29 Jun 2019 07:07:48 +0000 (UTC)
commit 99c01607f11a6f7ba50074d5d700e0d0578572fa
Author: Timm Bäder <mail baedert org>
Date: Sat Jun 29 08:53:36 2019 +0200
gl renderer: Remove some dead code
gsk/gl/gskglrenderer.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index 0597785929..f464c728a5 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -944,11 +944,9 @@ render_transform_node (GskGLRenderer *self,
case GSK_TRANSFORM_CATEGORY_2D:
default:
{
- graphene_matrix_t mat;
if (node_supports_transform (child))
{
- gsk_transform_to_matrix (node_transform, &mat);
ops_push_modelview (builder, node_transform);
gsk_gl_renderer_add_render_ops (self, child, builder);
ops_pop_modelview (builder);
@@ -973,7 +971,6 @@ render_transform_node (GskGLRenderer *self,
®ion, &is_offscreen,
RESET_CLIP | RESET_OPACITY);
- gsk_transform_to_matrix (node_transform, &mat);
ops_push_modelview (builder, node_transform);
ops_set_texture (builder, region.texture_id);
ops_set_program (builder, &self->blit_program);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]