Adel Gadllah a000189c68 texture: Fix error handling in get_texture_bits_via_offscreen
get_texture_bits_via_offscreen does not check the return value of
cogl_framebuffer_read_pixels_into_bitmap which results into never
using the fallback path texture_get_cb.

cogl_framebuffer_read_pixels_into_bitmap does not check whether the framebuffer
is properly allocated though; so fix that as well.

https://bugzilla.gnome.org/show_bug.cgi?id=673137

Reviewed-by: Neil Roberts <neil@linux.intel.com>
2012-04-02 23:32:53 +01:00
..
2012-03-23 13:51:08 +00:00
2012-03-23 13:51:08 +00:00
2010-06-01 12:08:18 +01:00
2012-02-14 20:42:10 +00:00
2012-02-14 20:42:10 +00:00
2011-11-01 12:03:02 +00:00
2012-02-15 14:57:59 +00:00
2012-03-23 13:51:08 +00:00
2012-03-20 13:17:07 +00:00
2012-03-14 12:19:56 +00:00
2012-03-21 22:15:34 +08:00
2012-03-23 13:51:08 +00:00
2011-08-12 15:28:42 +01:00