v4: - drop patch 4 (that was actually the bug in the patch not checking d3ddevice->ddraw for NULL which got fixed in previous MR updates); - rename wined3d_stateblock_savedstates_set_all() to wined3d_stateblock_primary_dirtify_all_states(); - dirtify lights and primary SB specific states.