Henri Verbeet : wined3d: Don' t apply more than num_contained_render_states in IWineD3DStateBlockImpl_Apply ().