summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl2.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-31 18:07:37 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-31 18:07:37 +0000
commitc4c806a9d743ec917450515db15b270981930259 (patch)
treee21bb720e33029b0ecfe0dbe27513fd804bb3147 /libvo/vo_gl2.c
parent8fb7d45abd13b0d8a427f44f19e338d8b4fb9cc0 (diff)
downloadmpv-c4c806a9d743ec917450515db15b270981930259.tar.bz2
mpv-c4c806a9d743ec917450515db15b270981930259.tar.xz
Put the colourspace-related variables into a separate struct to ease
extracting the code and sharing with other vos. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30149 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gl2.c')
-rw-r--r--libvo/vo_gl2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c
index fc28fe3a67..bbf850b827 100644
--- a/libvo/vo_gl2.c
+++ b/libvo/vo_gl2.c
@@ -571,7 +571,7 @@ static int initGl(uint32_t d_width, uint32_t d_height)
if (is_yuv) {
int xs, ys;
gl_conversion_params_t params = {GL_TEXTURE_2D, use_yuv,
- 0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0,
+ {0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0},
texture_width, texture_height, 0, 0, 0};
switch (use_yuv) {
case YUV_CONVERSION_FRAGMENT_LOOKUP: