From 423c0b13c4ffaf8ba619a4412b90a4b94fccce3c Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 24 Feb 2013 23:32:51 +0100 Subject: video/out: rename create_window to config_window create_window is really bad naming, because this function can be called multiple times, while the name implies that it always creates a new window. At least the name config_window is not actively misleading. --- video/out/vo_corevideo.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/vo_corevideo.m') diff --git a/video/out/vo_corevideo.m b/video/out/vo_corevideo.m index 0166c8ac10..ab3bf4ac99 100644 --- a/video/out/vo_corevideo.m +++ b/video/out/vo_corevideo.m @@ -145,7 +145,7 @@ static int config(struct vo *vo, uint32_t width, uint32_t height, p->image_height = height; int mpgl_caps = MPGL_CAP_GL_LEGACY; - if (!mpgl_create_window(p->mpglctx, mpgl_caps, d_width, d_height, flags)) + if (!mpgl_config_window(p->mpglctx, mpgl_caps, d_width, d_height, flags)) return -1; init_gl(vo, vo->dwidth, vo->dheight); -- cgit v1.2.3