wined3d: Use unsynchronized buffer updates only if there has been at least one buffer...
commit085ae6ed08710fedfdcd1febe580d04baeebd596
authorJózef Kucia <jkucia@codeweavers.com>
Fri, 4 Nov 2016 12:43:46 +0000 (4 13:43 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 7 Nov 2016 15:59:46 +0000 (7 16:59 +0100)
tree77565a3421754d087aebbaa33bb2d71198160c80
parentc259854a0afc5e4fb8644af7c5c979f312f954f3
wined3d: Use unsynchronized buffer updates only if there has been at least one buffer map.

Fixes bc019fcbbd7f0014280a292bc58ef618cfbe34c7. We cannot use
unsynchronized updates when the application haven't called map at all.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/wined3d/buffer.c