wined3d: Remove unneeded address-of operators from array names.

This commit is contained in:
Andrew Talbot 2008-12-08 18:53:42 +00:00 committed by Alexandre Julliard
parent 9814ca9859
commit c3cdc671a4
1 changed files with 3 additions and 3 deletions

View File

@ -543,12 +543,12 @@ static HRESULT WINAPI IWineD3DStateBlockImpl_Capture(IWineD3DStateBlock *iface)
}
for (i = 0; i < GL_LIMITS(clipplanes); i++) {
if (This->changed.clipplane[i] && memcmp(&targetStateBlock->clipplane[i],
&This->clipplane[i],
if (This->changed.clipplane[i] && memcmp(targetStateBlock->clipplane[i],
This->clipplane[i],
sizeof(This->clipplane)) != 0) {
TRACE("Updating clipplane %d\n", i);
memcpy(&This->clipplane[i], &targetStateBlock->clipplane[i],
memcpy(This->clipplane[i], targetStateBlock->clipplane[i],
sizeof(This->clipplane));
}
}