d3d8: Don't use sizeof in traces to avoid printf format warnings.
This commit is contained in:
parent
aeae92e9f9
commit
7bf49faf23
|
@ -825,7 +825,6 @@ static HRESULT WINAPI IDirect3DDevice8Impl_CreateStateBlock(LPDIRECT3DDEVICE8 if
|
||||||
|
|
||||||
object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IDirect3DStateBlock8Impl));
|
object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IDirect3DStateBlock8Impl));
|
||||||
if (NULL == object) {
|
if (NULL == object) {
|
||||||
FIXME("(%p) Failed to allocate %d bytes\n", This, sizeof(IDirect3DStateBlock8Impl));
|
|
||||||
*pToken = 0;
|
*pToken = 0;
|
||||||
return E_OUTOFMEMORY;
|
return E_OUTOFMEMORY;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue