[gtk/wip/chergert/glproto] reset uniform flags



commit 2590aacceb9ae86555c2945863b4c062634f78d4
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jan 27 12:44:19 2021 -0800

    reset uniform flags

 gsk/next/gskgluniformstate.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gsk/next/gskgluniformstate.c b/gsk/next/gskgluniformstate.c
index 90e99f731f..655ab8c7e1 100644
--- a/gsk/next/gskgluniformstate.c
+++ b/gsk/next/gskgluniformstate.c
@@ -825,8 +825,11 @@ gsk_gl_uniform_state_end_frame (GskGLUniformState *state)
 
           alloc_uniform_data (buffer, size, &offset);
           memcpy (&buffer->data[offset], &state->uniform_data->data[info->offset], size);
-          info->changed = FALSE;
+
           info->offset = offset;
+          info->changed = FALSE;
+          info->initial = TRUE;
+          info->send_corners = FALSE;
         }
     }
 


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