Files
Velix-MPV-Core/libvo
wm4 0165ab5402 vo_opengl: fix compatibility with OpenGL 2.1
The srgb_compand() function passes bvec to mix(), which is apparently
not available on GL 2.1 / GLSL 1.20:

0:0(0): error: no matching function for call to `mix(vec3, vec3, bvec3)'
0:0(0): error: candidates are: float mix(float, float, float)
0:0(0): error:                 vec2 mix(vec2, vec2, vec2)
0:0(0): error:                 vec3 mix(vec3, vec3, vec3)
0:0(0): error:                 vec4 mix(vec4, vec4, vec4)
0:0(0): error:                 vec2 mix(vec2, vec2, float)
0:0(0): error:                 vec3 mix(vec3, vec3, float)
0:0(0): error:                 vec4 mix(vec4, vec4, float)

Also add back disabling color management on older GL, as the
srgb_compand() function is needed for that.
2012-11-12 00:27:26 +01:00
..
2012-11-11 17:56:42 +01:00
2012-10-31 22:36:37 +01:00
2012-10-24 21:56:34 +02:00
2012-10-24 21:56:34 +02:00
2012-08-07 01:09:30 +02:00
2012-10-30 19:50:23 +01:00
2012-10-30 19:50:23 +01:00