mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 10:12:17 +00:00
ddraw: Correct a NULL pointer check.
This commit is contained in:
parent
fcc68659d4
commit
a509aabb97
|
@ -214,7 +214,7 @@ IDirect3DVertexBufferImpl_Lock(IDirect3DVertexBuffer7 *iface,
|
|||
HRESULT hr;
|
||||
TRACE("(%p)->(%08lx,%p,%p)\n", This, Flags, Data, Size);
|
||||
|
||||
if(*Size)
|
||||
if(Size)
|
||||
{
|
||||
/* Get the size, for returning it, and for locking */
|
||||
hr = IWineD3DVertexBuffer_GetDesc(This->wineD3DVertexBuffer,
|
||||
|
|
Loading…
Reference in a new issue