Added inline to float convertComponent(,)
This commit is contained in:
@@ -136,7 +136,7 @@ bool HDRLoader::load(const char *_fileName, HDRLoaderResult &_res)
|
||||
return true;
|
||||
}
|
||||
|
||||
float convertComponent(int _expo, int _val)
|
||||
inline float convertComponent(int _expo, int _val)
|
||||
{
|
||||
return ldexp( (float)_val / 256.0f, _expo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user