summaryrefslogtreecommitdiffstats
path: root/libmpv/client.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-24 21:07:16 +0200
committerwm4 <wm4@nowhere>2015-09-24 21:07:37 +0200
commitb14c9eb748d80cff3e362c2093a8fb26bce337cf (patch)
tree2ef8fd9173877597eba2146699e44c069c46d040 /libmpv/client.h
parentcb1c0725345d4bf7e0226aceb934f06f40cc0ee1 (diff)
downloadmpv-b14c9eb748d80cff3e362c2093a8fb26bce337cf.tar.bz2
mpv-b14c9eb748d80cff3e362c2093a8fb26bce337cf.tar.xz
client API: rename GL_MP_D3D_interfaces
This is a pseudo-OpenGL extension for letting libmpv query native windowing system handles from the API user. (It uses the OpenGL extension mechanism because I'm lazy. In theory it would be nicer to let the user pass them with mpv_opengl_cb_init_gl(), but this would require a more intrusive API change to extend its argument list.) The naming of the extension and associated function was unnecessarily Windows specific (using "D3D"), even though it would work just fine for other platforms. So deprecate the old names and introduce new ones. The old ones still work.
Diffstat (limited to 'libmpv/client.h')
-rw-r--r--libmpv/client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpv/client.h b/libmpv/client.h
index 54ac421209..af583d9571 100644
--- a/libmpv/client.h
+++ b/libmpv/client.h
@@ -198,7 +198,7 @@ extern "C" {
* relational operators (<, >, <=, >=).
*/
#define MPV_MAKE_VERSION(major, minor) (((major) << 16) | (minor) | 0UL)
-#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 19)
+#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 20)
/**
* Return the MPV_CLIENT_API_VERSION the mpv source has been compiled with.