change win32 lrintf to match other archs

This commit is contained in:
Chris Danford
2007-01-05 03:08:18 +00:00
parent 87505ec245
commit 86032e1c98
+1 -1
View File
@@ -453,7 +453,7 @@ void RageSurfaceUtils::BlitTransform( const RageSurface *src, RageSurface *dst,
sum += v[1][i] * (1-weight_x) * (weight_y);
sum += v[2][i] * (weight_x) * (1-weight_y);
sum += v[3][i] * (weight_x) * (weight_y);
out[i] = (uint8_t) clamp( lrintf(sum), 0, 255 );
out[i] = (uint8_t) clamp( lrintf(sum), 0L, 255L );
}
/* If the source has no alpha, set the destination to opaque. */