diff options
Diffstat (limited to 'demos/cube.cpp')
| -rw-r--r-- | demos/cube.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/cube.cpp b/demos/cube.cpp index 2937950d..2be97bbc 100644 --- a/demos/cube.cpp +++ b/demos/cube.cpp @@ -1658,7 +1658,7 @@ struct Demo { } vk::ShaderModule prepare_fs() { - size_t size; + size_t size = 0; void *fragShaderCode = read_spv("cube-frag.spv", &size); frag_shader_module = prepare_shader_module(fragShaderCode, size); |
