wined3d: Clear active lights when cleaning up a D3D stateblock.
This prevents dangling pointers as the light structures that the pointers in
the state->lights array point to are freed below when cleaning the light maps.
Showing
Please
register
or
sign in
to comment