diff options
author | wm4 <wm4@nowhere> | 2017-10-09 18:55:44 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-10-09 18:55:44 +0200 |
commit | cdef69103a9c0bed742563a98d21099650ba478f (patch) | |
tree | 1ce3b0e35371905e47565388fe66100bd86b45e4 /video/out/vo.c | |
parent | b43bf12fa6717a748168a82f02a268cf28907c3b (diff) | |
download | mpv-cdef69103a9c0bed742563a98d21099650ba478f.tar.bz2 mpv-cdef69103a9c0bed742563a98d21099650ba478f.tar.xz |
vo_gpu: simplify opengl alias
This makes the replacement warning message worse, but I don't think I
care enough.
Diffstat (limited to 'video/out/vo.c')
-rw-r--r-- | video/out/vo.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/video/out/vo.c b/video/out/vo.c index ff8c381f60..5212546d90 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -52,7 +52,6 @@ extern const struct vo_driver video_out_x11; extern const struct vo_driver video_out_vdpau; extern const struct vo_driver video_out_xv; extern const struct vo_driver video_out_gpu; -extern const struct vo_driver video_out_opengl; extern const struct vo_driver video_out_opengl_cb; extern const struct vo_driver video_out_null; extern const struct vo_driver video_out_image; @@ -106,7 +105,6 @@ const struct vo_driver *const video_out_drivers[] = &video_out_lavc, #endif #if HAVE_GL - &video_out_opengl, &video_out_opengl_cb, #endif NULL @@ -196,8 +194,9 @@ const struct m_obj_list vo_obj_list = { .get_desc = get_desc, .description = "video outputs", .aliases = { - {"gl", "opengl"}, + {"gl", "gpu"}, {"direct3d_shaders", "direct3d"}, + {"opengl", "gpu"}, {0} }, .allow_unknown_entries = true, |