summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/superxbr.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-02-24 10:23:50 +0100
committerwm4 <wm4@nowhere>2016-02-24 10:23:50 +0100
commitf0b15ad447927a794ee0785cd477348b10d875ae (patch)
tree4092c862a83b93e37106737357ddf1309ea71ac2 /video/out/opengl/superxbr.c
parent441b605de2738a0cc472a439a87a436ba1a86be2 (diff)
downloadmpv-f0b15ad447927a794ee0785cd477348b10d875ae.tar.bz2
mpv-f0b15ad447927a794ee0785cd477348b10d875ae.tar.xz
vo_opengl, vo_rpi: unbreak a few things
Commit 2f562825 didn't remove the "color" declaration for these. Since the shader header already declares it, shader compilation broke.
Diffstat (limited to 'video/out/opengl/superxbr.c')
-rw-r--r--video/out/opengl/superxbr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/superxbr.c b/video/out/opengl/superxbr.c
index 5ce80c5e4c..0d0394342f 100644
--- a/video/out/opengl/superxbr.c
+++ b/video/out/opengl/superxbr.c
@@ -220,7 +220,7 @@ void pass_superxbr(struct gl_shader_cache *sc, int planes, int tex_num,
GLSLHF("}"); // superxbr()
- GLSL(vec4 color = vec4(1.0);)
+ GLSL(color = vec4(1.0);)
for (int i = 0; i < planes; i++) {
GLSLF("color[%d] = superxbr(texture%d, texcoord%d, texture_size%d, %d, %f);\n",