diff options
| -rw-r--r-- | demos/tri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/tri.c b/demos/tri.c index ee2fe341..74ba8951 100644 --- a/demos/tri.c +++ b/demos/tri.c @@ -512,7 +512,7 @@ static void demo_prepare_textures(struct demo *demo) .arraySlice = 0, }; XGL_SUBRESOURCE_LAYOUT layout; - size_t layout_size; + size_t layout_size = sizeof(XGL_SUBRESOURCE_LAYOUT); void *data; int32_t x, y; |
