[Mplayer-cvslog] CVS: main/libvo vo_gl.c,1.43,1.44
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Sat Jul 17 16:32:25 CEST 2004
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv29865
Modified Files:
vo_gl.c
Log Message:
changed misleading TEXTUREFORMAT_32BPP (was 24bpp!) to vo_gl2 style TEXTUREFORMAT_ALWAYS
Index: vo_gl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_gl.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- vo_gl.c 2 Jul 2004 16:16:46 -0000 1.43
+++ vo_gl.c 17 Jul 2004 14:32:22 -0000 1.44
@@ -1,4 +1,4 @@
-#define TEXTUREFORMAT_32BPP
+#define TEXTUREFORMAT_ALWAYS GL_RGB8
#include <stdio.h>
#include <stdlib.h>
@@ -134,8 +134,8 @@
gl_type = GL_UNSIGNED_BYTE;
return 0;
}
-#ifdef TEXTUREFORMAT_32BPP
- gl_texfmt = GL_RGB8;
+#ifdef TEXTUREFORMAT_ALWAYS
+ gl_texfmt = TEXTUREFORMAT_ALWAYS;
#endif
return 1;
}
More information about the MPlayer-cvslog
mailing list