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
This commit is contained in:
reimar 2005-08-14 18:36:01 +00:00
parent 36439fa30c
commit f1fcbe1d11
1 changed files with 2 additions and 2 deletions

View File

@ -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;