d3dx9: Fix HeapAlloc size in D3DXCreateEffectPool.

This commit is contained in:
Rico Schüller 2011-03-27 22:12:22 +02:00 committed by Alexandre Julliard
parent 1c30783c92
commit be43a5c414
1 changed files with 1 additions and 1 deletions

View File

@ -1084,7 +1084,7 @@ HRESULT WINAPI D3DXCreateEffectPool(LPD3DXEFFECTPOOL* pool)
if (!pool)
return D3DERR_INVALIDCALL;
object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(ID3DXEffectImpl));
object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object));
if (!object)
{
ERR("Out of memory\n");