* 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.
This commit is contained in:
Ivan Leben 2008-05-21 10:00:08 +00:00
parent ecd5ba2bd2
commit 9f5a8edc64
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2008-05-21 Ivan Leben <ivan@o-hand.com>
* 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 <pippin@o-hand.com>
Decouple actor opacity from fill opacity in ClutterRectangle (fixes

View File

@ -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;