diff options
author | wm4 <wm4@nowhere> | 2013-11-04 19:46:15 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-04 19:46:15 +0100 |
commit | 383d8a8b60d0d289dd7cd8ad335ab90789c8fd2e (patch) | |
tree | fa49c7f4a51f969e08266dd406771f806c7d8b69 /version.sh | |
parent | 78a9bc4a7deeacb40d755dc621560dc8e03ccd0a (diff) | |
download | mpv-383d8a8b60d0d289dd7cd8ad335ab90789c8fd2e.tar.bz2 mpv-383d8a8b60d0d289dd7cd8ad335ab90789c8fd2e.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 'version.sh')
0 files changed, 0 insertions, 0 deletions