diff options
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 805a0b4..1acf2fb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -320,7 +320,7 @@ int main() { main_scene.meta.cam.set_aspect_ratio((float)event.width / (float)event.height); delete accumulation_texture; - delete output_texture; + delete output_texture); accumulation_texture = vkrenderer::create_2d_texture(event.width, event.height, VK_FORMAT_R32G32B32A32_SFLOAT); output_texture = vkrenderer::create_2d_texture(event.width, event.height, VK_FORMAT_R32G32B32A32_SFLOAT); raytracing_pass->set_dispatch_size(event.width / 8 + 1, event.height / 8 + 1, 1); |
