[vlc-commits] [Git][videolan/vlc][master] d3d11_surface: fix mismatching unmap call
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Feb 10 07:45:58 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
09697423 by Steve Lhomme at 2023-02-10T07:07:00+00:00
d3d11_surface: fix mismatching unmap call
- - - - -
1 changed file:
- modules/hw/d3d11/d3d11_surface.c
Changes:
=====================================
modules/hw/d3d11/d3d11_surface.c
=====================================
@@ -454,8 +454,7 @@ static void D3D11_RGBA(filter_t *p_filter, picture_t *src, picture_t *dst)
plane_CopyPixels( dst->p, &src_planes );
/* */
- ID3D11DeviceContext_Unmap(sys->d3d_dev->d3dcontext,
- p_sys->resource[KNOWN_DXGI_INDEX], p_sys->slice_index);
+ ID3D11DeviceContext_Unmap(sys->d3d_dev->d3dcontext, sys->staging_resource, 0);
vlc_mutex_unlock(&sys->staging_lock);
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/09697423069a3317fc3147657ac25d1be854f1f0
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/09697423069a3317fc3147657ac25d1be854f1f0
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list