Andreas Tobler wrote:
Hello all,

this patch brings the image handling back to work on big endian systems.

Please check on a little endian system!

I hope the comments in the code are ok.

Ok to commit?

Commited after review & test by Sven.

Thanks
Andreas


Andreas

2006-06-27  Andreas Tobler  <[EMAIL PROTECTED]>

    * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
    GdkPixbuf correctly on big endian systems. Fix a typo in the little
    endian swapping code.

    * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
    (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
    without alpha information correctly on big endian systems.


Reply via email to