From 9f5a8edc64faf930e77885be4b2806d84f7bdee7 Mon Sep 17 00:00:00 2001 From: Ivan Leben Date: Wed, 21 May 2008 10:00:08 +0000 Subject: [PATCH] * clutter/cogl/gles/cogl-texture.c: (_cogl_texture_download_from_gl:) Only comment out the broken check for framebuffer alpha bits, not the check for alpha in texture format. --- ChangeLog | 7 +++++++ clutter/cogl/gles/cogl-texture.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c9cdbe558..4b82826f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-05-21 Ivan Leben + + * clutter/cogl/gles/cogl-texture.c: + (_cogl_texture_download_from_gl:) Only comment out the broken + check for framebuffer alpha bits, not the check for alpha in + texture format. + 2008-05-20 Øyvind Kolås Decouple actor opacity from fill opacity in ClutterRectangle (fixes diff --git a/clutter/cogl/gles/cogl-texture.c b/clutter/cogl/gles/cogl-texture.c index 10c69368e..74172e352 100644 --- a/clutter/cogl/gles/cogl-texture.c +++ b/clutter/cogl/gles/cogl-texture.c @@ -423,8 +423,8 @@ _cogl_texture_download_from_gl (CoglTexture *tex, printf ("R bits: %d\n", r_bits); printf ("G bits: %d\n", g_bits); printf ("B bits: %d\n", b_bits); - printf ("A bits: %d\n", a_bits); - if ((tex->bitmap.format & COGL_A_BIT) && a_bits == 0) */ + printf ("A bits: %d\n", a_bits); */ + if ((tex->bitmap.format & COGL_A_BIT)/* && a_bits == 0*/) { guchar *srcdata; guchar *dstdata;