[MPlayer-cvslog] CVS: main/libvo vo_gl2.c,1.70,1.71

Reimar Döffinger CVS syncmail at mplayerhq.hu
Sun Aug 14 21:36:36 CEST 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv31531

Modified Files:
	vo_gl2.c 
Log Message:
textures smaller 64x64 might not be supported


Index: vo_gl2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_gl2.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- vo_gl2.c	14 Aug 2005 19:24:49 -0000	1.70
+++ vo_gl2.c	14 Aug 2005 19:36:34 -0000	1.71
@@ -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;




More information about the MPlayer-cvslog mailing list