-
Everytime we updated a value, the other ones were lost because we have to use D3D11_MAP_WRITE_DISCARD. Now we keep a shadow copy of the constants and update one at a time. (cherry picked from commit 81b51165 ) Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
c4171455