[PATCH] ddraw: Grow indexbuffer as needed
Henri Verbeet
hverbeet at gmail.com
Tue Jun 22 05:32:18 CDT 2010
On 22 June 2010 09:15, Mikko Rasa <tdb at 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.
More information about the wine-devel
mailing list