wined3d: Fix incorrect sizeof.

This commit is contained in:
Ivan Gyurdiev 2006-05-14 03:44:27 -04:00 committed by Alexandre Julliard
parent 4d7655a84e
commit 7757d7bc5c
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ HRESULT WINAPI IWineD3DStateBlockImpl_Capture(IWineD3DStateBlock *iface){
memory) just do the copy */
if (src->changed) {
TRACE("Updating lights for light %ld\n", src->OriginalIndex);
memcpy(&src->OriginalParms, &realLight->OriginalParms, sizeof(PLIGHTINFOEL));
memcpy(&src->OriginalParms, &realLight->OriginalParms, sizeof(src->OriginalParms));
}
/* If 'enabledchanged' then its a LightEnable command */