[gtk/wip/chergert/glproto: 368/526] always set initial bit
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 368/526] always set initial bit
- Date: Tue, 16 Feb 2021 01:14:35 +0000 (UTC)
commit d197c0bbb1fd9cecbf37f82b19380548468ba67f
Author: Christian Hergert <chergert redhat com>
Date: Fri Jan 29 12:57:38 2021 -0800
always set initial bit
We need to mark this as initial now because we can get here when the
size of the array changes, therefore the previous invariant no longer
holds true.
gsk/next/gskgluniformstate.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gsk/next/gskgluniformstate.c b/gsk/next/gskgluniformstate.c
index 6fb070b6e0..5bf13dbbba 100644
--- a/gsk/next/gskgluniformstate.c
+++ b/gsk/next/gskgluniformstate.c
@@ -298,8 +298,7 @@ setup_info:
info->format = format;
info->offset = offset;
info->array_count = array_count;
-
- g_assert (info->initial == TRUE);
+ info->initial = TRUE;
*infoptr = info;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]