Commit e3ad334a authored by Steve Lhomme's avatar Steve Lhomme

direct3d9: log the error when StrecthRect fails with OpenGL

parent b6e788ba
......@@ -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;
}
......
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