On Mon, 25 Feb 2019 at 21:31, Matteo Bruni mbruni@codeweavers.com wrote:
- /* Make sure to only upload buffers that are used by the current draw:
* released buffers might still be bound as stream sources. */
Thinking about it some more, does this really solve the issue? In particular, what about the case where the buffer is released, but also referenced by the vertex declaration? Shouldn't we just delay releasing the wined3d system memory buffer until wined3d_object_destroyed()?