-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 2014-08-22 12:32, schrieb Henri Verbeet:
This fixes a bug exposed by commit 415b8037206b1d4c104d9623037458739f6cfdf5. In particular, wined3d_resource_update_draw_binding() uses the multisample type to determine to appropriate draw binding, and since we never updated that for the container, we could end up with an incorrect draw binding after a device reset.
Why not move this call to the texture entirely?
On 22 August 2014 12:49, Stefan Dösinger stefandoesinger@gmail.com wrote:
Am 2014-08-22 12:32, schrieb Henri Verbeet:
This fixes a bug exposed by commit 415b8037206b1d4c104d9623037458739f6cfdf5. In particular, wined3d_resource_update_draw_binding() uses the multisample type to determine to appropriate draw binding, and since we never updated that for the container, we could end up with an incorrect draw binding after a device reset.
Why not move this call to the texture entirely?
That's the plan, but this is just a regression fix.