sdl2-display: fix component order

We are using the SDL2 pixel format SDL_PIXELFORMAT_RGBA32, which is
endianness independent in RGBA order, wheras we were using BGRA.
parent 0c08e076
Pipeline #208873 passed with stages
in 7 minutes and 20 seconds
......@@ -151,13 +151,7 @@ process (GeglOperation *operation,
gegl_buffer_get (input,
NULL,
1.0,
babl_format_new (babl_model ("R'G'B'A"),
babl_type ("u8"),
babl_component ("B'"),
babl_component ("G'"),
babl_component ("R'"),
babl_component ("A"),
NULL),
babl_format ("R'G'B'A u8"),
state->screen->pixels, GEGL_AUTO_ROWSTRIDE,
GEGL_ABYSS_NONE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment