]> git.tdb.fi Git - libs/game.git/commit
Adjust order of members in Renderer::RenderedEntity
authorMikko Rasa <tdb@tdb.fi>
Sat, 15 Mar 2025 12:55:49 +0000 (14:55 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 15 Mar 2025 12:55:49 +0000 (14:55 +0200)
commit981ad936222d513b1aac67930dcac4387e7510c2
tree375b81ea9d19327c3182e1cf48e90bae88cbd578
parent11496c386b000ae83d734afb3be698291d32de8b
Adjust order of members in Renderer::RenderedEntity

Since destroying the DynamicMeshSource triggers the destruction of the
MeshRenderer, it's important that the former is destroyed first or there
will be an invalid access to an already destroyed Owned handle.
source/gameview/renderer.h