diff options
Diffstat (limited to 'video/out/opengl/common.c')
-rw-r--r-- | video/out/opengl/common.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/video/out/opengl/common.c b/video/out/opengl/common.c index 6720e13f2a..2b6d3949ef 100644 --- a/video/out/opengl/common.c +++ b/video/out/opengl/common.c @@ -291,9 +291,17 @@ static const struct gl_functions gl_functions[] = { // These don't exist - they are for the sake of mpv internals, and libmpv // interaction (see libmpv/opengl_cb.h). { + .extension = "GL_MP_MPGetNativeDisplay", + .functions = (const struct gl_function[]) { + DEF_FN(MPGetNativeDisplay), + {0} + }, + }, + // Same, but using the old name. + { .extension = "GL_MP_D3D_interfaces", .functions = (const struct gl_function[]) { - DEF_FN(MPGetD3DInterface), + DEF_FN_NAME(MPGetNativeDisplay, "glMPGetD3DInterface"), {0} }, }, |