forked from enlightenment/efl
oooh fix nasty bug never found to date in ecore-x - gettign if image
is argb or not was WRONG. fixed. :) this now affected the comp software non-32bit support as it used it. SVN revision: 76961
This commit is contained in:
parent
be48742a4e
commit
5834a7956c
|
@ -956,3 +956,8 @@
|
|||
* Fix escaping in ecore_file_escape_name() to handle tab and
|
||||
newline right.
|
||||
|
||||
2012-09-21 Carsten Haitzler (The Rasterman)
|
||||
|
||||
* Fix ecore_x_image_is_argb32_get() to return correctly on
|
||||
endianess.
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ Fixes:
|
|||
completion callback).
|
||||
* ecore_evas rotation handling on some driver implementations
|
||||
* ecore_file_escape_name() escape taba nd newline right.
|
||||
* ecore_x_image_is_argb32_get() returns correctly given endianness.
|
||||
|
||||
Improvements:
|
||||
|
||||
|
|
|
@ -253,11 +253,9 @@ ecore_x_image_is_argb32_get(Ecore_X_Image *im)
|
|||
(vis->green_mask == 0x00ff00) && (vis->blue_mask == 0x0000ff))
|
||||
{
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
if (im->xim->byte_order == XCB_IMAGE_ORDER_LSB_FIRST)
|
||||
return EINA_TRUE;
|
||||
if (im->xim->byte_order == XCB_IMAGE_ORDER_MSB_FIRST) return EINA_TRUE;
|
||||
#else
|
||||
if (im->xim->byte_order == XCB_IMAGE_ORDER_MSB_FIRST)
|
||||
return EINA_TRUE;
|
||||
if (im->xim->byte_order == XCB_IMAGE_ORDER_LSB_FIRST) return EINA_TRUE;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -338,9 +338,9 @@ ecore_x_image_is_argb32_get(Ecore_X_Image *im)
|
|||
(vis->blue_mask == 0x0000ff))
|
||||
{
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
if (im->xim->bitmap_bit_order == LSBFirst) return EINA_TRUE;
|
||||
#else
|
||||
if (im->xim->bitmap_bit_order == MSBFirst) return EINA_TRUE;
|
||||
#else
|
||||
if (im->xim->bitmap_bit_order == LSBFirst) return EINA_TRUE;
|
||||
#endif
|
||||
}
|
||||
return EINA_FALSE;
|
||||
|
|
Loading…
Reference in New Issue