summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-10 13:47:41 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-10 13:47:41 +0000
commit07fb95d10b00e2cc515b9c6cb9dfcfa42f3b4f4a (patch)
tree22d7d624c7e9364f3c5f77f952d744e79a88de01 /libvo/vo_gl.c
parenta846b34f3e18b95401e97e1e4c788205d39bbee3 (diff)
downloadmpv-07fb95d10b00e2cc515b9c6cb9dfcfa42f3b4f4a.tar.bz2
mpv-07fb95d10b00e2cc515b9c6cb9dfcfa42f3b4f4a.tar.xz
Change vo_draw_text to a vo_draw_text_ext function which draws DVD navigation
highlights at the correct position with the high-resolution OSD of -vo gl. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28290 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r--libvo/vo_gl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 6560b325fb..30402233af 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -612,7 +612,8 @@ static void draw_osd(void)
clearOSD();
osd_w = scaled_osd ? image_width : vo_dwidth;
osd_h = scaled_osd ? image_height : vo_dheight;
- vo_draw_text(osd_w, osd_h, create_osd_texture);
+ vo_draw_text_ext(osd_w, osd_h, ass_border_x, ass_border_y, ass_border_x, ass_border_y,
+ image_width, image_height, create_osd_texture);
}
if (vo_doublebuffering) do_render_osd();
}