[gtk/wip/chergert/glproto] fix alignment of uniform sizes
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto] fix alignment of uniform sizes
- Date: Mon, 28 Dec 2020 18:30:09 +0000 (UTC)
commit 5b38126e6f9a7bcd446d2663cbcd8c6c66f3eb64
Author: Christian Hergert <chergert redhat com>
Date: Mon Dec 28 10:29:39 2020 -0800
fix alignment of uniform sizes
gsk/next/gskgluniformstate.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gsk/next/gskgluniformstate.c b/gsk/next/gskgluniformstate.c
index 29bee45074..ed041a513b 100644
--- a/gsk/next/gskgluniformstate.c
+++ b/gsk/next/gskgluniformstate.c
@@ -37,6 +37,8 @@ typedef struct { int v0; int v1; int v2; } Uniform3i;
typedef struct { int v0; int v1; int v2; int v3; } Uniform4i;
static guint8 uniform_sizes[] = {
+ 0,
+
sizeof (Uniform1f),
sizeof (Uniform2f),
sizeof (Uniform3f),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]