[gegl] operations: sdl-display displays sRGB
- From: Téo Mazars <teom src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] operations: sdl-display displays sRGB
- Date: Thu, 8 Aug 2013 17:50:16 +0000 (UTC)
commit 52809d55dc9701100fc579b96e126a6821ea3f64
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]