On 17.02.2017 08:35, Henri Verbeet wrote:
On 17 February 2017 at 03:47, Sebastian Lackner sebastian@fds-team.de wrote:
Signed-off-by: Sebastian Lackner sebastian@fds-team.de
dlls/wined3d/device.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
Why would you want to do that?
Well, it depends a bit how you are planning to deal with wined3d_cs_emit_*() calls on the command stream. Just appending at the end of the stream wouldn't be a good idea here, because its executed after all the contexts are already destroyed. Dispatching immediately might work, but is a bit dangerous because there is currently only one buffer, and you are replacing the content while the previous command is still active. Feel free to ignore if you are planning to use a different solution for this problem.
Best regards, Sebastian