Skip to content
Snippets Groups Projects
Commit c4171455 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf
Browse files

direct3d11: fix the dynamic update of shader constants


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: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent e34fa4af
No related branches found
No related tags found
1 merge request!3533Backport MR 3236 to 3.0.x
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment