wined3d: Handle stateblock capture for default lights created while recording.
commitf5c8153eddecd709bbcb15fd1bae110a16bf0029
authorHenri Verbeet <hverbeet@codeweavers.com>
Mon, 4 Jan 2010 20:33:11 +0000 (4 21:33 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 5 Jan 2010 11:19:14 +0000 (5 12:19 +0100)
treefef8cfaa5416710e468ac5ffc0e1b3fff3fa2194
parent5bac33d3586685ca9d51150e1dd027f859957444
wined3d: Handle stateblock capture for default lights created while recording.

For non-recorded stateblocks a light always exists in the device stateblock as
well, since that's where it's copied from. However, when SetLightEnable() is
called for a light that didn't a exist yet while recording a stateblock, the
light is only created on the recorded stateblock.
dlls/wined3d/stateblock.c