From 7e21f6fd0049e14e384758237fcfe3ef03d93d1f Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 May 2015 21:58:37 +0200 Subject: vo_opengl: remove some more Cocoa resize leftovers --- video/out/gl_video.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'video/out/gl_video.c') 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) { -- cgit v1.2.3