changeset 35009:4ba5b32b61ac

Internal format for BGRA must be BGRA, not RGBA.
author reimar
date Sat, 18 Aug 2012 18:19:57 +0000
parents bfbacc1ef3bb
children 4f99cedb5141
files libvo/gl_common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/gl_common.c	Sat Aug 18 16:17:31 2012 +0000
+++ b/libvo/gl_common.c	Sat Aug 18 18:19:57 2012 +0000
@@ -352,7 +352,7 @@
       *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;