mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-18 13:12:50 +00:00
e811f7ed00
DebugCustomDraw owns the vector of drawcalls and the line geometry. There are two DebugCustomDraw, so anything they own is double buffered. Because DebugDrawer has a ref_ptr on the DebugCustomDraw, they live at least as long as DebugDrawer, making memory access from it safe. removed redundent this