[gtk/wip/chergert/glproto] state is const here



commit b7a0a2f64dbdba67103530ec191538f41c4954b0
Author: Christian Hergert <chergert redhat com>
Date:   Tue Feb 2 22:42:34 2021 -0800

    state is const here

 gsk/next/gskgluniformstateprivate.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gsk/next/gskgluniformstateprivate.h b/gsk/next/gskgluniformstateprivate.h
index 29030bc288..322dd90ab5 100644
--- a/gsk/next/gskgluniformstateprivate.h
+++ b/gsk/next/gskgluniformstateprivate.h
@@ -185,8 +185,8 @@ void               gsk_gl_uniform_state_snapshot         (GskGLUniformState
 gsize              gsk_gl_uniform_format_size            (GskGLUniformFormat         format);
 
 static inline gconstpointer
-gsk_gl_uniform_state_get_uniform_data (GskGLUniformState *state,
-                                       guint              offset)
+gsk_gl_uniform_state_get_uniform_data (const GskGLUniformState *state,
+                                       guint                    offset)
 {
   return (gconstpointer)(state->values_buf + offset);
 }


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