diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-18 12:04:08 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-18 12:04:08 +0000 |
commit | 2a15e8beb88ad6d39447308eec9ed802b83788de (patch) | |
tree | e37474436aa10df08dd8ea5dc7ac0dea4ca9b577 /libvo/vo_gl2.c | |
parent | 06ed3c2b57c5088d3b35af67f047d5ed3192d72c (diff) | |
download | mpv-2a15e8beb88ad6d39447308eec9ed802b83788de.tar.bz2 mpv-2a15e8beb88ad6d39447308eec9ed802b83788de.tar.xz |
support negative stride (flipping) in vo_gl.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17221 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gl2.c')
-rw-r--r-- | libvo/vo_gl2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c index 0c744fd73e..6274cf27e9 100644 --- a/libvo/vo_gl2.c +++ b/libvo/vo_gl2.c @@ -531,7 +531,8 @@ static void drawTextureDisplay () glDrawTex(square->fx, square->fy, square->fw, square->fh, 0, 0, texture_width, texture_height, - texture_width, texture_height, 0, image_format == IMGFMT_YV12); + texture_width, texture_height, + 0, image_format == IMGFMT_YV12, 0); square++; } /* for all texnumx */ } /* for all texnumy */ |