Stefan Dösinger : wined3d: Store the instance count in the context structure.