summaryrefslogtreecommitdiffstats
path: root/video/out/gl_utils.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-02 12:44:46 +0200
committerwm4 <wm4@nowhere>2015-09-02 13:17:23 +0200
commit8ffbb22c270aeef063755fc9b00c4d272959d930 (patch)
tree543a6c3b199aaef091e023ce9fde187c61da9ca0 /video/out/gl_utils.h
parent42411203639c4c570be1b7dee3778cca27ff4832 (diff)
downloadmpv-8ffbb22c270aeef063755fc9b00c4d272959d930.tar.bz2
mpv-8ffbb22c270aeef063755fc9b00c4d272959d930.tar.xz
vo_opengl: simplify PBO copy
Use mp_image_copy() instead of copying manually. (This function checks whether the destination is regarded writeable, which it is not, because the destination is the source image with changed pointers, so refcounting has to be removed from the destination image by resetting mpi->bufs.)
Diffstat (limited to 'video/out/gl_utils.h')
0 files changed, 0 insertions, 0 deletions