mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-25 03:40:26 +01:00
fix build on gcc 4.8
some versions of gcc want to inline DitherBitmap(), and this leads to trouble: Sources/Engine/Graphics/Graphics.cpp:1167: Error: symbol `rowLoopE' is already defined Sources/Engine/Graphics/Graphics.cpp:1170: Error: symbol `pixLoopEL' is already defined ...
This commit is contained in:
parent
aaba575856
commit
8bbe4c1d5e
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user