Re: D3D9: Rework the converted vertex declaration management (try 3)

2007-04-17 Thread Vitaly Budovski
Stefan � wrote: Another patch which grows by 0.5 * existing size You could as well just grow it to twice the existing size. It would be easier.

Re: D3D9: Rework the converted vertex declaration management (try 3)

2007-04-17 Thread H. Verbeet
On 17/04/07, Stefan Dösinger <[EMAIL PROTECTED]> wrote: This time uses HeapReAlloc, grows the array by 4(defined as a constant). The information from the initial search is used for putting the element into the array. Typically you would grow by a percentage. I think MoveMemory would be preferre