Commit a942fe6f authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

d3dx9_36: Remove useless HEAP_ZERO_MEMORY flag (spotted by Henri Verbeet).

parent 5c5f37a6
...@@ -611,7 +611,7 @@ HRESULT WINAPI D3DXGetShaderConstantTableEx(CONST DWORD* pFunction, ...@@ -611,7 +611,7 @@ HRESULT WINAPI D3DXGetShaderConstantTableEx(CONST DWORD* pFunction,
object->lpVtbl = &ID3DXConstantTable_Vtbl; object->lpVtbl = &ID3DXConstantTable_Vtbl;
object->ref = 1; object->ref = 1;
object->ctab = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size); object->ctab = HeapAlloc(GetProcessHeap(), 0, size);
if (!object->ctab) if (!object->ctab)
{ {
HeapFree(GetProcessHeap(), 0, object); HeapFree(GetProcessHeap(), 0, object);
......
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