mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 10:20:26 +01:00
commit
17de1fdb46
|
@ -663,6 +663,9 @@ static inline void IncrementByteWithClip( UBYTE &ub, SLONG slAdd)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// performs dithering of a 32-bit bipmap (can be in-place)
|
// 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,
|
void DitherBitmap( INDEX iDitherType, ULONG *pulSrc, ULONG *pulDst, PIX pixWidth, PIX pixHeight,
|
||||||
PIX pixCanvasWidth, PIX pixCanvasHeight)
|
PIX pixCanvasWidth, PIX pixCanvasHeight)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user