From 056b5b9457795eccc48b92ff1bf61ffcd516d136 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 24 May 2008 11:03:00 +0000 Subject: Use a struct instead of a huge and further growing argument list. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26866 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_gl.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libvo/vo_gl.c') diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index dc4a2452b4..d938d8fd21 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -179,9 +179,10 @@ static void update_yuvconv(void) { float rgamma = exp(log(8.0) * eq_rgamma / 100.0); float ggamma = exp(log(8.0) * eq_ggamma / 100.0); float bgamma = exp(log(8.0) * eq_bgamma / 100.0); - glSetupYUVConversion(gl_target, yuvconvtype, bri, cont, hue, sat, - rgamma, ggamma, bgamma, - texture_width, texture_height); + gl_conversion_params_t params = {gl_target, yuvconvtype, + bri, cont, hue, sat, rgamma, ggamma, bgamma, + texture_width, texture_height}; + glSetupYUVConversion(¶ms); if (custom_prog) { FILE *f = fopen(custom_prog, "r"); if (!f) -- cgit v1.2.3