Mercurial > mplayer.hg
comparison gui/wm/ws.c @ 29401:f01023c524c3
Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.
author | diego |
---|---|
date | Sun, 26 Jul 2009 19:53:00 +0000 |
parents | 0f1b5b68af32 |
children | 9247ff6e841c |
comparison
equal
deleted
inserted
replaced
29400:0446f018f9fc | 29401:f01023c524c3 |
---|---|
1080 1,1,32,0 ); | 1080 1,1,32,0 ); |
1081 wsDepthOnScreen = mXImage->bits_per_pixel; | 1081 wsDepthOnScreen = mXImage->bits_per_pixel; |
1082 wsRedMask=mXImage->red_mask; | 1082 wsRedMask=mXImage->red_mask; |
1083 wsGreenMask=mXImage->green_mask; | 1083 wsGreenMask=mXImage->green_mask; |
1084 wsBlueMask=mXImage->blue_mask; | 1084 wsBlueMask=mXImage->blue_mask; |
1085 #ifdef WORDS_BIGENDIAN | 1085 #if HAVE_BIGENDIAN |
1086 wsNonNativeOrder = mXImage->byte_order == LSBFirst; | 1086 wsNonNativeOrder = mXImage->byte_order == LSBFirst; |
1087 #else | 1087 #else |
1088 wsNonNativeOrder = mXImage->byte_order == MSBFirst; | 1088 wsNonNativeOrder = mXImage->byte_order == MSBFirst; |
1089 #endif | 1089 #endif |
1090 XDestroyImage( mXImage ); | 1090 XDestroyImage( mXImage ); |