Józef Kucia : wined3d: Invalidate INDEXBUFFER device state when bound index buffer is unloaded.