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:
parent
36439fa30c
commit
f1fcbe1d11
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user