[gtk/wip/chergert/glproto: 320/526] keep program const




commit 90ae6dcf5bdbbafe92bbc41fd34bae1d4a84c506
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jan 27 12:41:21 2021 -0800

    keep program const

 gsk/next/gskgluniformstate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/next/gskgluniformstate.c b/gsk/next/gskgluniformstate.c
index 6fb89ab7a3..90e99f731f 100644
--- a/gsk/next/gskgluniformstate.c
+++ b/gsk/next/gskgluniformstate.c
@@ -804,7 +804,7 @@ gsk_gl_uniform_state_end_frame (GskGLUniformState *state)
 
   for (guint i = 0; i < state->program_info->len; i++)
     {
-      ProgramInfo *program_info = &g_array_index (state->program_info, ProgramInfo, i);
+      const ProgramInfo *program_info = &g_array_index (state->program_info, ProgramInfo, i);
 
       if (program_info->uniform_info == NULL)
         continue;


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