summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/video.h
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2024-02-22 12:29:13 -0600
committerDudemanguy <random342@airmail.cc>2024-02-26 16:46:00 +0000
commitb7fd232524bc213df91fa77ca0261ff514fad1e4 (patch)
tree9f29421024ae33f320dfe5d480633d57337184aa /video/out/gpu/video.h
parentbbbc0e248b9a2ec1d4643df98c71516a4d3e0881 (diff)
downloadmpv-b7fd232524bc213df91fa77ca0261ff514fad1e4.tar.bz2
mpv-b7fd232524bc213df91fa77ca0261ff514fad1e4.tar.xz
vo_gpu/vo_gpu_next: set ctx->opts.want_alpha in specific functions
Currently this was being duplicated on init and on runtime updates between both VOs. Since the conditions for setting this will get more complicated in the future commits, it's better to just handle it in one place. We could combine the vo_gpu and vo_gpu_next handling into one single function but vo_gpu_next has an additional condition for determining alpha that vo_gpu_does not, so we'll leave these separate for simplicity. Also this technically fixes a memory leak where gl_opts weren't being freed.
Diffstat (limited to 'video/out/gpu/video.h')
0 files changed, 0 insertions, 0 deletions