diff options
Diffstat (limited to 'video/out/gl_osd.c')
-rw-r--r-- | video/out/gl_osd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/gl_osd.c b/video/out/gl_osd.c index 5c203ea626..74074915a2 100644 --- a/video/out/gl_osd.c +++ b/video/out/gl_osd.c @@ -375,6 +375,8 @@ void mpgl_osd_draw_part(struct mpgl_osd *ctx, int vp_w, int vp_h, int index) int div[2]; get_3d_side_by_side(ctx->stereo_mode, div); + ctx->gl->Viewport(0, 0, vp_w, abs(vp_h)); + for (int x = 0; x < div[0]; x++) { for (int y = 0; y < div[1]; y++) { struct gl_transform t; |