[vlc-commits] direct3d9: log the error when StrecthRect fails with OpenGL
Steve Lhomme
git at videolan.org
Tue Jun 25 13:50:21 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jun 21 09:13:19 2019 +0200| [e3ad334a4e63a4aeb3ed8a670e5e97ef3a949b25] | committer: Steve Lhomme
direct3d9: log the error when StrecthRect fails with OpenGL
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e3ad334a4e63a4aeb3ed8a670e5e97ef3a949b25
---
modules/video_output/win32/direct3d9.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/win32/direct3d9.c b/modules/video_output/win32/direct3d9.c
index 9790d767f2..b0220e5ef7 100644
--- a/modules/video_output/win32/direct3d9.c
+++ b/modules/video_output/win32/direct3d9.c
@@ -1868,7 +1868,7 @@ GLConvUpdate(const opengl_tex_converter_t *tc, GLuint *textures,
&rect, priv->dx_render, NULL, D3DTEXF_NONE);
if (FAILED(hr))
{
- msg_Warn(tc->gl, "IDirect3DDevice9Ex_StretchRect failed");
+ msg_Warn(tc->gl, "IDirect3DDevice9Ex_StretchRect failed. (0x%lX)", hr);
return VLC_EGENERIC;
}
More information about the vlc-commits
mailing list