mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-05 08:50:25 +00:00
Unnecessary repeated inline functions removed from _loadimage.
This commit is contained in:
parent
887aff63dd
commit
13fa2ca4d5
|
@ -17,16 +17,6 @@ extern uint32 matchcol(int32 r,int32 g,int32 b);
|
|||
#include "decode/other/src.c" //PNG, TGA, BMP, PSD, GIF, HDR, PIC, PNM(PPM/PGM)
|
||||
#endif
|
||||
|
||||
inline int32 func__red32(uint32 col){
|
||||
return col>>16&0xFF;
|
||||
}
|
||||
inline int32 func__green32(uint32 col){
|
||||
return col>>8&0xFF;
|
||||
}
|
||||
inline int32 func__blue32(uint32 col){
|
||||
return col&0xFF;
|
||||
}
|
||||
|
||||
int32 func__loadimage(qbs *f,int32 bpp,int32 passed){
|
||||
if (new_error) return 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue