summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-04 19:46:15 +0100
committerwm4 <wm4@nowhere>2013-11-07 23:57:43 +0100
commit90015a8b8bf01d8c4c4a1e93697877cc5dd1d3aa (patch)
tree46919c772618e5931640e6807c20d88db45f0893 /stream
parentd1a8dfb8c47741475662f848ac076a6d9e1b0a56 (diff)
downloadmpv-90015a8b8bf01d8c4c4a1e93697877cc5dd1d3aa.tar.bz2
mpv-90015a8b8bf01d8c4c4a1e93697877cc5dd1d3aa.tar.xz
vo_opengl: reserve 4 texture units for video instead of 3
Video has up to 4 textures, if you include obscure formats with alpha. This means alpha formats could always overwrite the first scaler texture, leading to corrupted video display. This problem was recently brought to light, when commit 571e697 started to explicitly unbind all 4 video textures, which broke rendering for non-alpha formats as well. Fix this by reserving the correct number of texture units.
Diffstat (limited to 'stream')
0 files changed, 0 insertions, 0 deletions