changeset 16222:8683e4609f3f

textures smaller 64x64 might not be supported
author reimar
date Sun, 14 Aug 2005 19:36:34 +0000
parents a8063634ebd1
children f540609340ac
files libvo/vo_gl2.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl2.c	Sun Aug 14 19:24:49 2005 +0000
+++ b/libvo/vo_gl2.c	Sun Aug 14 19:36:34 2005 +0000
@@ -146,13 +146,13 @@
   GLint format=0;
   GLenum err;
 
-  /* achieve the 2**e_x:=texture_width, 2**e_y:=texture_height */
-  s=1;
+  // textures smaller than 64x64 might not be supported
+  s=64;
   while (s<image_width)
     s*=2;
   texture_width=s;
 
-  s=1;
+  s=64;
   while (s<image_height)
     s*=2;
   texture_height=s;