[gegl/soc-2013-opecl-ops] operations: sdl-display displays sRGB



commit 42b89206fcb6d4c9321951ad26d38b0b3f2d5b93
Author: Téo Mazars <teo mazars ensimag fr>
Date:   Thu Aug 8 19:47:00 2013 +0200

    operations: sdl-display displays sRGB

 operations/external/sdl-display.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/operations/external/sdl-display.c b/operations/external/sdl-display.c
index 9a46d2f..a1667e3 100644
--- a/operations/external/sdl-display.c
+++ b/operations/external/sdl-display.c
@@ -139,11 +139,11 @@ process (GeglOperation       *operation,
   gegl_buffer_get (source,
        NULL,
        1.0,
-       babl_format_new (babl_model ("RGBA"),
+       babl_format_new (babl_model ("R'G'B'A"),
                         babl_type ("u8"),
-                        babl_component ("B"),
-                        babl_component ("G"),
-                        babl_component ("R"),
+                        babl_component ("B'"),
+                        babl_component ("G'"),
+                        babl_component ("R'"),
                         babl_component ("A"),
                         NULL),
        ((SDL_Surface*)o->screen)->pixels, GEGL_AUTO_ROWSTRIDE,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]