cutealien
92564435f4
Fix bad cast in CIndexBuffer. Modify IIndexBuffer interface for cleanup and safety.
...
CIndexBuffer::setType could end up casting a temporary u16 variable to u32& (reference!).
Probably never noticed as this tended to mostly works (guess next byte on stack often 0?).
To prevent this from happening again I modifed IIndexBuffer::push_back to work with copies instead of references.
While breaking the interface anyway I also deprecated pointer() which is just identical to getData() anyway.
I get the idea of staying similar to core::array interface, but it's just confusing (and not same due to lack of types anyway).
Also added a const version for getData()
On a side-note - same setType bug still in CVertexBuffer, but a bit harder to fix there. So will be an new patch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6357 dfc29bdd-3216-0410-991c-e03cc46cb475
2022-04-22 16:28:29 +00:00
..
2021-08-27 15:03:34 +00:00
2022-04-22 14:22:41 +00:00
2022-04-22 16:28:29 +00:00
2022-04-14 16:54:06 +00:00
2021-08-27 15:03:34 +00:00
2022-04-20 11:03:23 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-04-04 16:37:55 +00:00
2022-04-12 16:04:56 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-04-21 22:24:14 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-02-08 21:00:12 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-04-22 14:22:41 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-03-22 22:08:33 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-03-08 18:44:23 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-04-22 16:28:29 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-04-22 14:22:41 +00:00
2021-08-27 15:03:34 +00:00
2022-04-19 21:44:50 +00:00
2022-04-14 16:54:06 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-01-06 14:02:12 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-03-24 22:24:13 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 18:09:14 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-04-21 22:24:14 +00:00
2021-08-27 15:03:34 +00:00
2019-12-12 16:32:41 +00:00
2021-08-27 15:03:34 +00:00
2022-01-04 18:44:35 +00:00
2019-12-12 16:32:41 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-03-22 22:08:33 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-04-20 11:03:23 +00:00
2022-03-30 10:49:13 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-03-14 15:11:05 +00:00
2021-08-27 15:03:34 +00:00
2022-03-10 12:51:10 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-01-06 12:01:36 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2019-12-12 16:32:41 +00:00
2019-12-12 16:32:41 +00:00
2019-12-12 16:32:41 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-04-14 16:54:06 +00:00
2022-04-14 16:54:06 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-01-06 14:02:12 +00:00
2021-08-27 15:03:34 +00:00
2022-04-21 22:24:14 +00:00
2022-04-21 22:24:14 +00:00