changeset 16220:1effc23b2cb8

10l, texture_width/height initialization was removed, so use image_width/height here
author reimar
date Sun, 14 Aug 2005 18:36:01 +0000
parents 5793cc5fe37e
children a8063634ebd1
files libvo/vo_gl2.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl2.c	Sun Aug 14 17:34:19 2005 +0000
+++ b/libvo/vo_gl2.c	Sun Aug 14 18:36:01 2005 +0000
@@ -157,12 +157,12 @@
 
   /* 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;