Commit 57bcafb5 authored by Georg Schäfer's avatar Georg Schäfer

Fix crash in particle system.

parent d997d0e2
Pipeline #3437 passed with stage
in 13 minutes and 46 seconds
......@@ -179,7 +179,7 @@ namespace mirrage::renderer {
renderer.compute_uniform_buffer_layout()))
, _update_fence(renderer.device().create_fence(false))
, _per_frame_data(util::build_vector<Per_frame_data>(
renderer.device().max_frames_in_flight(), [&](auto, auto& vec) {
renderer.device().max_frames_in_flight() + 3, [&](auto, auto& vec) {
vec.emplace_back().reserve(renderer,
initial_particle_capacity,
initial_particle_type_capacity,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment