summaryrefslogtreecommitdiff
path: root/libavfilter/vsrc_ddagrab.c
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2023-10-08 15:47:38 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2023-10-09 20:17:49 +0200
commit0e7ae95cc289e5b5264ff2921f361eca3702aab1 (patch)
tree9ce42ee909373926be3ac7c54ced1df86c7af136 /libavfilter/vsrc_ddagrab.c
parente006680d8ef0c7cdcbc18a4c6d83d5dac48bea75 (diff)
avfilter/ddagrab: actually use provided texture pointer
Diffstat (limited to 'libavfilter/vsrc_ddagrab.c')
-rw-r--r--libavfilter/vsrc_ddagrab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vsrc_ddagrab.c b/libavfilter/vsrc_ddagrab.c
index 2d9d71a7ba..936936eb7f 100644
--- a/libavfilter/vsrc_ddagrab.c
+++ b/libavfilter/vsrc_ddagrab.c
@@ -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)) {