* 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 4cb0d58ceb
commit 091c79b9ae

View File

@ -423,8 +423,8 @@ _cogl_texture_download_from_gl (CoglTexture *tex,
printf ("R bits: %d\n", r_bits); printf ("R bits: %d\n", r_bits);
printf ("G bits: %d\n", g_bits); printf ("G bits: %d\n", g_bits);
printf ("B bits: %d\n", b_bits); printf ("B bits: %d\n", b_bits);
printf ("A bits: %d\n", a_bits); printf ("A bits: %d\n", a_bits); */
if ((tex->bitmap.format & COGL_A_BIT) && a_bits == 0) */ if ((tex->bitmap.format & COGL_A_BIT)/* && a_bits == 0*/)
{ {
guchar *srcdata; guchar *srcdata;
guchar *dstdata; guchar *dstdata;