[Question] GLES and BGR?

Why the renderer uses BGR? From what I can see on android and from the
docs everything is RGB…

lu

Does it work actually? In my port I’ve added RGB565 etc surfaces to SDL
video sources, and put #ifdef ANDRIOD around them. I did not try BGR, but I
suppose you’ll get B and R channels swapped, and misplaced alpha channel for
RGBA surfaces.On Tue, Oct 19, 2010 at 8:16 PM, Luca Barbato <lu_zero at gentoo.org> wrote:

Why the renderer uses BGR? From what I can see on android and from the docs
everything is RGB…

lu


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Yes, it works perfectly as RGB, as I wrote before, I couldn’t see
anywhere references to BGR for gles…

luOn 10/20/10 10:34 AM, Sergiy Pylypenko wrote:

Does it work actually?