Merge pull request #27 from notaz/build_fix

fix build on gcc 4.8
This commit is contained in:
Ryan C. Gordon 2016-04-18 22:31:03 -04:00
commit 17de1fdb46

View File

@ -663,6 +663,9 @@ static inline void IncrementByteWithClip( UBYTE &ub, SLONG slAdd)
#endif
// performs dithering of a 32-bit bipmap (can be in-place)
#ifdef __GNUC__
__attribute__((noinline)) // because of asm labels
#endif
void DitherBitmap( INDEX iDitherType, ULONG *pulSrc, ULONG *pulDst, PIX pixWidth, PIX pixHeight,
PIX pixCanvasWidth, PIX pixCanvasHeight)
{