[gtk/wip/chergert/glproto] fix typo



commit c946e65b22d4b8b88ba1fc5b180181047dbff4a0
Author: Christian Hergert <chergert redhat com>
Date:   Wed Feb 17 13:53:46 2021 -0800

    fix typo

 gsk/next/gskgluniformstateprivate.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/next/gskgluniformstateprivate.h b/gsk/next/gskgluniformstateprivate.h
index a2934d1130..41f9f75d52 100644
--- a/gsk/next/gskgluniformstateprivate.h
+++ b/gsk/next/gskgluniformstateprivate.h
@@ -243,7 +243,7 @@ gsk_gl_uniform_state_realloc (GskGLUniformState *state,
       {                                                                                   \
         guint offset;                                                                     \
         u = gsk_gl_uniform_state_realloc (state, sizeof(type) * MAX (1, count), &offset); \
-        g_assert (offset < (1 << GSK_GL_UNIFORM_ARRAY_BITS));                             \
+        g_assert (offset < (1 << GSK_GL_UNIFORM_OFFSET_BITS));                            \
         (info)->info.offset = offset;                                                     \
         /* We might have increased array length */                                        \
         (info)->info.array_count = count;                                                 \


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