dolphin-emu/dolphin — pull request #1695 by Armada651 (2014-12-13 16:40:35+00:00)
Title: D3DState: Compare to m_pending instead of m_current in the setters.

Fixes unintentional behaviour when a setter is called twice before the state is applied, see https://github.com/dolphin-emu/dolphin/pull/1503#discussion_r21789224.