Stefan Dösinger : wined3d: Only invalidate STATE_INDEXBUFFER for the current context in buffer_get_sysmem ().