mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-07 04:11:26 +00:00
d3d11converter: Fix alpha factor update
converter should set entire constant buffer values since it's mapped with write-discard flag Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2631>
This commit is contained in:
parent
6aa0b0cae2
commit
adcb3ec1f2
1 changed files with 1 additions and 1 deletions
|
@ -2526,7 +2526,7 @@ gst_d3d11_converter_convert_unlocked (GstD3D11Converter * converter,
|
|||
}
|
||||
|
||||
const_buffer = (PSConstBuffer *) map.pData;
|
||||
const_buffer->alpha = priv->const_data.alpha;
|
||||
memcpy (const_buffer, &priv->const_data, sizeof (PSConstBuffer));
|
||||
|
||||
context->Unmap (priv->const_buffer, 0);
|
||||
priv->update_alpha = FALSE;
|
||||
|
|
Loading…
Reference in a new issue