1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00

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

View File

@ -157,12 +157,12 @@ static int initTextures()
/* achieve the 2**e_x:=texture_width, 2**e_y:=texture_height */ /* achieve the 2**e_x:=texture_width, 2**e_y:=texture_height */
s=1; s=1;
while (s<texture_width) while (s<image_width)
s*=2; s*=2;
texture_width=s; texture_width=s;
s=1; s=1;
while (s<texture_height) while (s<image_height)
s*=2; s*=2;
texture_height=s; texture_height=s;