mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
__forceinline doesn't make a measureable difference here, so no need to make the code nonstandard
This commit is contained in:
parent
f49cc04c7d
commit
e7b382dc57
@ -241,7 +241,7 @@ namespace {
|
||||
// B = Bi/100 and C = Ci/100 (template parameters to allow compiler to specialize weighting function for each spline type)
|
||||
// see Mitchell & Netravali, "Reconstruction Filters in Computer Graphics"
|
||||
template<int Bi, int Ci>
|
||||
__forceinline float mitchell(float x) {
|
||||
inline float mitchell(float x) {
|
||||
const float B = Bi/100.0f, C = Ci/100.0f;
|
||||
float ax = fabs(x);
|
||||
if(ax>=2.0f) return 0.0f;
|
||||
|
Loading…
Reference in New Issue
Block a user