DarkRadiant: master e71c0c15
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
orbweaver | orbweaver | master | 05.04.2021 13:57 | master c56e6bde |
Changeset | Remove unsafe Matrix4 pointer in TransformedRenderable TransformedRenderable was storing a non-owning C pointer to each renderable object's transform matrix, which is inherently unsafe if any object has returned a matrix calculated on the fly (i.e. an rvalue) rather than by reference. Storing a copy of the matrix might be very slightly slower but avoids this potential source of bugs. |
|||
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp | Diff File | |||
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.h | Diff File |