[vlc-commits] Direct3D: add more debug when CreateTexture fail
Jean-Baptiste Kempf
git at videolan.org
Wed Mar 28 15:30:01 CEST 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Mar 28 14:29:49 2012 +0200| [2525785d059209ceebe296228af4a76d9d20f81d] | committer: Jean-Baptiste Kempf
Direct3D: add more debug when CreateTexture fail
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2525785d059209ceebe296228af4a76d9d20f81d
---
modules/video_output/msw/direct3d.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/msw/direct3d.c b/modules/video_output/msw/direct3d.c
index 9f40065..fe0cc8d 100644
--- a/modules/video_output/msw/direct3d.c
+++ b/modules/video_output/msw/direct3d.c
@@ -1255,8 +1255,8 @@ static void Direct3DImportSubpicture(vout_display_t *vd,
NULL);
if (FAILED(hr)) {
d3dr->texture = NULL;
- msg_Err(vd, "Failed to create %dx%d texture for OSD",
- d3dr->width, d3dr->height);
+ msg_Err(vd, "Failed to create %dx%d texture for OSD (hr=0x%0lX)",
+ d3dr->width, d3dr->height, hr);
continue;
}
msg_Dbg(vd, "Created %dx%d texture for OSD",
More information about the vlc-commits
mailing list