vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <[email protected]> | Wed Mar 28 14:29:49 2012 +0200| [81823ae8fbfda80fe65faa70d0703626657f472c] | committer: Jean-Baptiste Kempf
Direct3D: add more debug when CreateTexture fail (cherry picked from commit 2525785d059209ceebe296228af4a76d9d20f81d) Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=81823ae8fbfda80fe65faa70d0703626657f472c --- 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 16c971d..560784b 100644 --- a/modules/video_output/msw/direct3d.c +++ b/modules/video_output/msw/direct3d.c @@ -1257,8 +1257,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", _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
