ddraw: Correct a NULL pointer check.

This commit is contained in:
Stefan Dösinger 2006-06-28 19:45:49 +02:00 committed by Alexandre Julliard
parent fcc68659d4
commit a509aabb97
1 changed files with 1 additions and 1 deletions

View File

@ -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,