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

directdraw: list the preferred formats not supported in debug builds

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent c51d1a84
......@@ -1188,10 +1188,20 @@ static int DirectXCreatePictureResource(vout_display_t *vd,
if (pass == 0) {
if (DirectXCreatePictureResourceYuvOverlay(vd, fmt, fourcc))
{
#ifndef NDEBUG
msg_Dbg(vd, "Failed to create YUV overlay surface %4.4s", (const char*)&fourcc);
#endif
continue;
}
} else {
if (DirectXCreatePictureResourceYuv(vd, fmt, fourcc))
{
#ifndef NDEBUG
msg_Dbg(vd, "Failed to create YUV surface %4.4s", (const char*)&fourcc);
#endif
continue;
}
}
/* */
*use_overlay = pass == 0;
......
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