summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-18 14:46:19 +0100
committerwm4 <wm4@nowhere>2014-12-18 14:46:59 +0100
commit541f6731a02c9b1b82770630a159a76e75c060ef (patch)
tree679784d130f3b4d482a62887d6687eaaacb09087 /stream
parentd910a0faa82f064ebe0cfbae56a9c82a0c18f32f (diff)
downloadmpv-541f6731a02c9b1b82770630a159a76e75c060ef.tar.bz2
mpv-541f6731a02c9b1b82770630a159a76e75c060ef.tar.xz
vo_opengl: simplify the case without texture_rg
If GL_RED was not available, we used GL_ALPHA. But this is an unnecessary complication, and it's easier to use GL_LUMINANCE instead. With the latter, a texture will return the .r component set, and as long as the shader doesn't look at the other components, the shader doesn't need any changes. Some of the changes added in 0e8fbdbd are now unneeeded. Also, realign the entire gl_byte_formats_legacy table.
Diffstat (limited to 'stream')
0 files changed, 0 insertions, 0 deletions