[gtk/wip/chergert/glproto: 771/920] reset uniform flags
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 771/920] reset uniform flags
- Date: Mon, 8 Feb 2021 19:15:41 +0000 (UTC)
commit f91387a7f616d1ba977c8a92373affa8c429f928
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]