diff options
Diffstat (limited to 'libmpv/render_gl.h')
-rw-r--r-- | libmpv/render_gl.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libmpv/render_gl.h b/libmpv/render_gl.h index 4d771f2958..690b126906 100644 --- a/libmpv/render_gl.h +++ b/libmpv/render_gl.h @@ -177,12 +177,17 @@ typedef struct mpv_opengl_drm_params { int render_fd; } mpv_opengl_drm_params; -typedef struct mpv_opengl_drm_osd_size { +typedef struct mpv_opengl_drm_draw_surface_size { /** - * size of the OSD in pixels. + * size of the draw plane surface in pixels. */ int width, height; -} mpv_opengl_drm_osd_size; +} mpv_opengl_drm_draw_surface_size; + +/** + * For backwards compatibility with the old naming of mpv_opengl_drm_draw_surface_size + */ +#define mpv_opengl_drm_osd_size mpv_opengl_drm_draw_surface_size #ifdef __cplusplus } |