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:Jean-Baptiste Kempf <jb@videolan.org>
parent
e34fa4af
No related branches found
No related tags found
Loading
Please register or sign in to comment