vo_opengl: remove inactive code

This commit is contained in:
wm4 2014-12-16 18:54:32 +01:00
parent 98d09f735e
commit 446e759f64
1 changed files with 0 additions and 1 deletions

View File

@ -1002,7 +1002,6 @@ static void compile_shaders(struct gl_video *p)
if (p->color_swizzle[0]) if (p->color_swizzle[0])
shader_def(&header_conv, "USE_COLOR_SWIZZLE", p->color_swizzle); shader_def(&header_conv, "USE_COLOR_SWIZZLE", p->color_swizzle);
shader_def_opt(&header_conv, "USE_SWAP_UV", p->image_desc.id == IMGFMT_NV21);
shader_def_opt(&header_conv, "USE_YGRAY", p->is_yuv && !p->is_packed_yuv shader_def_opt(&header_conv, "USE_YGRAY", p->is_yuv && !p->is_packed_yuv
&& p->plane_count == 1); && p->plane_count == 1);
shader_def_opt(&header_conv, "USE_INPUT_GAMMA", use_input_gamma); shader_def_opt(&header_conv, "USE_INPUT_GAMMA", use_input_gamma);