mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
ddraw: Memory allocation size fix.
This commit is contained in:
parent
e0bdb93650
commit
5bf9e88cce
1 changed files with 1 additions and 1 deletions
|
@ -826,7 +826,7 @@ IDirect3DImpl_7_CreateDevice(IDirect3D7 *iface,
|
|||
object->wineD3DDevice = This->wineD3DDevice;
|
||||
|
||||
/* Create an index buffer, it's needed for indexed drawing */
|
||||
IndexBufferParent = HeapAlloc(GetProcessHeap(), 0, sizeof(IParentImpl *));
|
||||
IndexBufferParent = HeapAlloc(GetProcessHeap(), 0, sizeof(IParentImpl));
|
||||
if(!IndexBufferParent)
|
||||
{
|
||||
ERR("Allocating memory for an index buffer parent failed\n");
|
||||
|
|
Loading…
Reference in a new issue