diff options
| author | Jon Ashburn <jon@lunarg.com> | 2015-02-11 09:36:41 -0700 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2015-02-11 15:30:18 -0700 |
| commit | 22ce937d76deb6b2f0a6ec1275f2878e07f8a248 (patch) | |
| tree | 266b6b56f5d84bdc76c938932254a5758128b142 | |
| parent | 6bc1b9c5ec24811cb588688cfa077977807ee5ad (diff) | |
| download | usermoji-22ce937d76deb6b2f0a6ec1275f2878e07f8a248.tar.xz | |
tests demos: Fix pDataSize to be either unitinitalized or initialized.
Better tests tracing in uninit case and was a bug in the case where init was
added.
| -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; |
