mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
avfilter/ddagrab: actually use provided texture pointer
This commit is contained in:
@@ -470,7 +470,7 @@ static int create_d3d11_pointer_tex(AVFilterContext *avctx,
|
||||
}
|
||||
|
||||
hr = ID3D11Device_CreateShaderResourceView(dda->device_hwctx->device,
|
||||
(ID3D11Resource*)dda->mouse_texture,
|
||||
(ID3D11Resource*)*out_tex,
|
||||
&resource_desc,
|
||||
res_view);
|
||||
if (FAILED(hr)) {
|
||||
|
||||
Reference in New Issue
Block a user