1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-29 18:32:36 +00:00
elsid d520b440aa
Copy LightBuffer data into a new object when changing layout
Before this change LightBuffer copy constructor copied only mData pointer into
a new object. Then memcpy was applied to an overlapping source and destination
that is UB.

Replace configureLayout function by a special constructor. That copies all
mData values and a pointer to a buffer object into a newly allocated object.
2021-05-16 22:37:31 +02:00
..
2019-02-23 08:02:12 +04:00
2020-11-19 01:11:56 +02:00
2018-10-09 10:21:12 +04:00
2020-04-24 20:38:55 +02:00
2021-04-13 11:07:48 -07:00
2021-04-16 11:55:40 -07:00
2021-04-13 11:09:49 -07:00
2021-04-13 11:09:49 -07:00
2020-06-13 00:22:28 +02:00
2021-02-02 21:52:15 +02:00
2016-05-18 12:17:26 -04:00
2020-03-14 09:38:24 +01:00
2020-03-14 09:38:24 +01:00
2021-04-23 22:53:59 +04:00
2021-04-04 15:29:08 +00:00
2020-06-24 21:23:31 +02:00
2020-06-24 21:23:31 +02:00