Re: [PATCH] ddraw: Grow indexbuffer as needed
22 Jun
2010
22 Jun
'10
5:32 a.m.
On 22 June 2010 09:15, Mikko Rasa <tdb(a)tdb.fi> 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 be careful not to overflow the maximum value of an UINT) - The "child" pointer of "parent" will still be set to the old index buffer, so the relevant code in IDirect3DDeviceImpl_7_Release() / IParentImpl_Release() is going to try to release the old index buffer again.
5656
Age (days ago)
5656
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet