summaryrefslogtreecommitdiffstats
path: root/video/out/gl_video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-13 21:58:37 +0200
committerwm4 <wm4@nowhere>2015-05-13 21:58:37 +0200
commit7e21f6fd0049e14e384758237fcfe3ef03d93d1f (patch)
tree480c7e4ca774c474e564343c083f6170c35ab706 /video/out/gl_video.c
parent0468a4ea47cb42de3406dc4e3737c8595cb556bc (diff)
downloadmpv-7e21f6fd0049e14e384758237fcfe3ef03d93d1f.tar.bz2
mpv-7e21f6fd0049e14e384758237fcfe3ef03d93d1f.tar.xz
vo_opengl: remove some more Cocoa resize leftovers
Diffstat (limited to 'video/out/gl_video.c')
-rw-r--r--video/out/gl_video.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index 4ffb432372..6c5fab58a1 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -2690,18 +2690,6 @@ static int validate_window_opt(struct mp_log *log, const m_option_t *opt,
return r;
}
-
-// Resize and redraw the contents of the window without further configuration.
-// Intended to be used in situations where the frontend can't really be
-// involved with reconfiguring the VO properly.
-// gl_video_resize() should be called when user interaction is done.
-void gl_video_resize_redraw(struct gl_video *p, int w, int h)
-{
- p->vp_w = w;
- p->vp_h = h;
- gl_video_render_frame(p, 0, NULL);
-}
-
float gl_video_scale_ambient_lux(float lmin, float lmax,
float rmin, float rmax, float lux)
{