diff options
Diffstat (limited to 'video/out/vo_direct3d.c')
-rw-r--r-- | video/out/vo_direct3d.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/video/out/vo_direct3d.c b/video/out/vo_direct3d.c index 927730d517..902d437ce3 100644 --- a/video/out/vo_direct3d.c +++ b/video/out/vo_direct3d.c @@ -846,7 +846,7 @@ static uint32_t d3d_draw_frame(d3d_priv *priv) IDirect3DDevice9_Clear(priv->d3d_device, 0, NULL, D3DCLEAR_TARGET, 0, 0, 0); if (!priv->have_image) - return VO_TRUE; + goto render_osd; if (priv->use_textures) { @@ -912,6 +912,8 @@ static uint32_t d3d_draw_frame(d3d_priv *priv) } } +render_osd: + draw_osd(priv->vo); return VO_TRUE; |