MPV_SUB_API_OPENGL_CB constant

int const MPV_SUB_API_OPENGL_CB

For using mpv's OpenGL renderer on an external OpenGL context. mpv_get_sub_api(MPV_SUB_API_OPENGL_CB) returns mpv_opengl_cb_context*. This context can be used with mpv_opengl_cb_* functions. Will return NULL if unavailable (if OpenGL support was not compiled in). See opengl_cb.h for details.

@deprecated use render.h

Implementation

static const int MPV_SUB_API_OPENGL_CB = 1;