Commit 5bf9e88c authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

ddraw: Memory allocation size fix.

parent e0bdb936
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment