summaryrefslogtreecommitdiffstats
path: root/video/out/vo_opengl_old.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_opengl_old.c')
-rw-r--r--video/out/vo_opengl_old.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/vo_opengl_old.c b/video/out/vo_opengl_old.c
index 3c11f3cac2..cd4b6915ca 100644
--- a/video/out/vo_opengl_old.c
+++ b/video/out/vo_opengl_old.c
@@ -1461,8 +1461,7 @@ static void draw_osd(struct vo *vo, struct osd_state *osd)
res = (struct mp_osd_res) {
.w = p->image_width,
.h = p->image_height,
- .display_par = 1.0 / p->osd_res.video_par,
- .video_par = p->osd_res.video_par,
+ .display_par = 1.0 / vo->aspdat.par,
};
gl->MatrixMode(GL_MODELVIEW);
gl->PushMatrix();