[gtk/wip/baedert/for-master] gl renderer: Remove unused matrix
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master] gl renderer: Remove unused matrix
- Date: Mon, 26 Aug 2019 16:59:56 +0000 (UTC)
commit b6e3ff83ac26669d8281940531bd1bae4dbb2565
Author: Timm Bäder <mail baedert org>
Date: Mon Aug 26 18:23:31 2019 +0200
gl renderer: Remove unused matrix
gsk/gl/gskglrenderer.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index a3d942907e..b424cc1f60 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -1531,7 +1531,6 @@ render_outset_shadow_node (GskGLRenderer *self,
const float max_y = min_y + outline->bounds.size.height + (spread + blur_extra/2.0) * 2;
float texture_width, texture_height;
RenderOp op;
- graphene_matrix_t identity;
graphene_matrix_t prev_projection;
graphene_rect_t prev_viewport;
graphene_matrix_t item_proj;
@@ -1580,7 +1579,6 @@ render_outset_shadow_node (GskGLRenderer *self,
0, texture_width, 0, texture_height,
ORTHO_NEAR_PLANE, ORTHO_FAR_PLANE);
graphene_matrix_scale (&item_proj, 1, -1, 1);
- graphene_matrix_init_identity (&identity);
prev_render_target = ops_set_render_target (builder, render_target);
op.op = OP_CLEAR;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]