From c405e1515ea9c371809ed1f1e9138d8ba0f57dbb Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Mon, 10 Oct 2016 11:25:47 +0200 Subject: [PATCH] Inlined heavily used function. --- libfreerdp/gdi/bitmap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libfreerdp/gdi/bitmap.c b/libfreerdp/gdi/bitmap.c index 6028da9..6f0d378 100644 --- a/libfreerdp/gdi/bitmap.c +++ b/libfreerdp/gdi/bitmap.c @@ -273,10 +273,10 @@ static UINT32 process_rop(UINT32 src, UINT32 dst, UINT32 pat, const char* rop, return stack[0]; } -static BOOL BitBlt_write(HGDI_DC hdcDest, HGDI_DC hdcSrc, UINT32 nXDest, - UINT32 nYDest, UINT32 nXSrc, UINT32 nYSrc, UINT32 x, UINT32 y, - BOOL useSrc, BOOL usePat, UINT32 style, - const char* rop, const gdiPalette* palette) +static INLINE BOOL BitBlt_write(HGDI_DC hdcDest, HGDI_DC hdcSrc, UINT32 nXDest, + UINT32 nYDest, UINT32 nXSrc, UINT32 nYSrc, UINT32 x, UINT32 y, + BOOL useSrc, BOOL usePat, UINT32 style, + const char* rop, const gdiPalette* palette) { UINT32 dstColor; UINT32 colorA; -- 2.7.4