mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2025-12-12 23:04:13 +08:00
fix link error of inline function
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user