diff options
author | wm4 <wm4@nowhere> | 2015-09-02 12:39:19 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-02 13:17:23 +0200 |
commit | 42411203639c4c570be1b7dee3778cca27ff4832 (patch) | |
tree | 64d70b0da0dca3da6d234b07bb589dfea9072c4a | |
parent | 3a5d769d4ae1e23e3de151132d62c5987aa92ccd (diff) |
vo_opengl: rename get_image to map_image
-rw-r--r-- | video/out/gl_video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c index b864ad496c..e9610ed10b 100644 --- a/video/out/gl_video.c +++ b/video/out/gl_video.c @@ -2256,7 +2256,7 @@ void gl_video_resize(struct gl_video *p, int vp_w, int vp_h, gl_video_reset_surfaces(p); } -static bool get_image(struct gl_video *p, struct mp_image *mpi) +static bool map_image(struct gl_video *p, struct mp_image *mpi) { GL *gl = p->gl; @@ -2312,7 +2312,7 @@ static void gl_video_upload_image(struct gl_video *p, struct mp_image *mpi) mp_image_t mpi2 = *mpi; bool pbo = false; - if (!vimg->planes[0].buffer_ptr && get_image(p, &mpi2)) { + if (!vimg->planes[0].buffer_ptr && map_image(p, &mpi2)) { for (int n = 0; n < p->plane_count; n++) { int line_bytes = mp_image_plane_w(mpi, n) * p->image_desc.bytes[n]; int plane_h = mp_image_plane_h(mpi, n); |