[MPlayer-cvslog] r35103 - trunk/libvo/gl_common.c
reimar
subversion at mplayerhq.hu
Sat Aug 18 20:19:57 CEST 2012
Author: reimar
Date: Sat Aug 18 20:19:57 2012
New Revision: 35103
Log:
Internal format for BGRA must be BGRA, not RGBA.
Modified:
trunk/libvo/gl_common.c
Modified: trunk/libvo/gl_common.c
==============================================================================
--- trunk/libvo/gl_common.c Sat Aug 18 18:17:31 2012 (r35102)
+++ trunk/libvo/gl_common.c Sat Aug 18 20:19:57 2012 (r35103)
@@ -352,7 +352,7 @@ int glFindFormat(uint32_t fmt, int *bpp,
*gl_type = GL_UNSIGNED_BYTE;
break;
case IMGFMT_BGRA:
- *gl_texfmt = GL_RGBA;
+ *gl_texfmt = GL_BGRA;
*gl_format = GL_BGRA;
*gl_type = GL_UNSIGNED_BYTE;
break;
More information about the MPlayer-cvslog
mailing list