wined3d: Fix use of memset (Coccinelle).

This commit is contained in:
Paul Vriens 2010-01-08 09:18:23 +01:00 committed by Alexandre Julliard
parent 1b27af164c
commit c8681f885d

View file

@ -1100,7 +1100,7 @@ HRESULT tesselate_rectpatch(IWineD3DDeviceImpl *This,
if(patch->has_texcoords) {
vtxStride += 4 * sizeof(float);
}
memset(&patch->strided, 0, sizeof(&patch->strided));
memset(&patch->strided, 0, sizeof(patch->strided));
patch->strided.position.format = WINED3DFMT_R32G32B32_FLOAT;
patch->strided.position.lpData = (BYTE *) patch->mem;
patch->strided.position.dwStride = vtxStride;