summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl2.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-06-07 13:24:54 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-06-07 13:24:54 +0000
commit0965bcee4367e23d306804963c79c628315dbb15 (patch)
tree873f433e7ecd9ebd24b4509251c3ed34d3dc64ce /libvo/vo_gl2.c
parent82cb987e543864b0cb375a663f9a2c4e0bfe8bfd (diff)
downloadmpv-0965bcee4367e23d306804963c79c628315dbb15.tar.bz2
mpv-0965bcee4367e23d306804963c79c628315dbb15.tar.xz
Reworked YUV2RGB fragment program setup in preparation for upcoming patches
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18620 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gl2.c')
-rw-r--r--libvo/vo_gl2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c
index 036f3f4fdb..8dd0a297d7 100644
--- a/libvo/vo_gl2.c
+++ b/libvo/vo_gl2.c
@@ -773,7 +773,8 @@ static int initGl(uint32_t d_width, uint32_t d_height)
BindProgram(GL_FRAGMENT_PROGRAM, fragprog);
break;
}
- glSetupYUVConversion(GL_TEXTURE_2D, use_yuv, 0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0);
+ glSetupYUVConversion(GL_TEXTURE_2D, use_yuv, 0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0,
+ texture_width, texture_height);
}
gl_set_antialias(0);