Józef Kucia : wined3d: Let buffer_direct_upload() invalidate STATE_INDEXBUFFER if needed.