Commit e9b73498 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

direct3d11: add a log message when creating the pool fails

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 656963c7
......@@ -575,6 +575,7 @@ static picture_pool_t *Pool(vout_display_t *vd, unsigned pool_size)
error:
if (vd->sys->pool ==NULL && pictures) {
msg_Dbg(vd, "Failed to create the picture d3d11 pool");
for (unsigned i=0;i<picture_count; ++i)
DestroyDisplayPoolPicture(pictures[i]);
free(pictures);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment