Commit 2525785d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Direct3D: add more debug when CreateTexture fail

parent 03776f46
...@@ -1255,8 +1255,8 @@ static void Direct3DImportSubpicture(vout_display_t *vd, ...@@ -1255,8 +1255,8 @@ static void Direct3DImportSubpicture(vout_display_t *vd,
NULL); NULL);
if (FAILED(hr)) { if (FAILED(hr)) {
d3dr->texture = NULL; d3dr->texture = NULL;
msg_Err(vd, "Failed to create %dx%d texture for OSD", msg_Err(vd, "Failed to create %dx%d texture for OSD (hr=0x%0lX)",
d3dr->width, d3dr->height); d3dr->width, d3dr->height, hr);
continue; continue;
} }
msg_Dbg(vd, "Created %dx%d texture for OSD", msg_Dbg(vd, "Created %dx%d texture for OSD",
......
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