Commit 0bd4f5f8 authored by Johannes Braun's avatar Johannes Braun
Browse files

Use proper trace buffer size again.

parent 88ba58f9
......@@ -99,7 +99,7 @@ namespace glare::raytrace
m_width = width;
m_height = height;
m_trace_buffer.reserve<Trace>(2000*2000, gl::BufferUsage::eDynamicCopy);
m_trace_buffer.reserve<Trace>(width * height, gl::BufferUsage::eDynamicCopy);
m_render_target = std::make_unique<core::Texture>(core::Image<float>({ static_cast<int>(width), static_cast<int>(height) }, 4));
......
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