fix link error of inline function

This commit is contained in:
VincentWei
2017-10-26 13:36:50 +08:00
parent 06b9ee9263
commit de9cb9749c

View File

@@ -531,7 +531,7 @@ static inline void bmpGet256CScanline (BYTE* bits, BYTE* scanline,
memcpy (scanline, bits, pixels);
}
inline void pixel2rgb (gal_pixel pixel, GAL_Color* color, int depth)
static inline void pixel2rgb (gal_pixel pixel, GAL_Color* color, int depth)
{
switch (depth) {
case 24: