summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-14 18:36:01 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-14 18:36:01 +0000
commitf1fcbe1d1183e7dd7af7cbd6bc512ceef164e8fa (patch)
tree4f4372f78a4ca09bbbfeb5d9dd20926ff0c13338 /libvo
parent36439fa30c35abea7d250db3fe5f54ca1b368b19 (diff)
downloadmpv-f1fcbe1d1183e7dd7af7cbd6bc512ceef164e8fa.tar.bz2
mpv-f1fcbe1d1183e7dd7af7cbd6bc512ceef164e8fa.tar.xz
10l, texture_width/height initialization was removed, so use
image_width/height here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16221 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_gl2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c
index 4d64dfb59e..edebfdf417 100644
--- a/libvo/vo_gl2.c
+++ b/libvo/vo_gl2.c
@@ -157,12 +157,12 @@ static int initTextures()
/* achieve the 2**e_x:=texture_width, 2**e_y:=texture_height */
s=1;
- while (s<texture_width)
+ while (s<image_width)
s*=2;
texture_width=s;
s=1;
- while (s<texture_height)
+ while (s<image_height)
s*=2;
texture_height=s;