[gtk/wip/baedert/for-master: 39/41] gl renderer: Remove unused parameter




commit 813ba6cfa9096cbad22f24a1e453d2312d942e7c
Author: Timm Bäder <mail baedert org>
Date:   Sat Oct 10 18:40:03 2020 +0200

    gl renderer: Remove unused parameter

 gsk/gl/gskglrenderer.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index ae43cd7f97..9adb02dd53 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -2897,7 +2897,6 @@ apply_program_op (const Program  *program,
 
 static inline void
 apply_render_target_op (GskGLRenderer        *self,
-                        const Program        *program,
                         const OpRenderTarget *op)
 {
   OP_PRINT (" -> Render Target: %d", op->render_target_id);
@@ -4034,7 +4033,7 @@ gsk_gl_renderer_render_ops (GskGLRenderer *self)
           }
 
         case OP_CHANGE_RENDER_TARGET:
-          apply_render_target_op (self, program, ptr);
+          apply_render_target_op (self, ptr);
           break;
 
         case OP_CLEAR:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]