Am 24.06.2010 um 11:30 schrieb Mikko Rasa:
> On 24.06.2010 12:07, Stefan Dösinger wrote:
>>
>> Am 23.06.2010 um 21:57 schrieb Mikko Rasa:
>>> +if(!size)
>>> +{
>>> +ERR("UINT overflow while trying to grow indexbuffer to
>>> hold %u indices\n", IndexCount)
Am 23.06.2010 um 21:57 schrieb Mikko Rasa:
> +if(!size)
> +{
> +ERR("UINT overflow while trying to grow indexbuffer to hold
> %u indices\n", IndexCount);
> +return D3DERR_TOOMANYPRIMITIVES;
> +}
> +}
You have to release t
On 22 June 2010 09:15, Mikko Rasa wrote:
> ---
> dlls/ddraw/device.c | 27 ++-
> 1 files changed, 26 insertions(+), 1 deletions(-)
>
This looks mostly ok, except for two things:
- We'll probably want to grow the buffer by doubling the size until
it's large enough (but