From 289086edc68364b9ad3ab923a4e859ad3a9228be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 8 May 2014 05:20:03 +0200 Subject: RawPixel: no need to round here, EMConverter will do it (bzr r3794.5.4) --- unity-shared/RawPixel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unity-shared') diff --git a/unity-shared/RawPixel.cpp b/unity-shared/RawPixel.cpp index 370d71de5..98b0ecb4d 100644 --- a/unity-shared/RawPixel.cpp +++ b/unity-shared/RawPixel.cpp @@ -39,7 +39,7 @@ RawPixel::RawPixel(double raw_pixel) int RawPixel::CP(EMConverter::Ptr const& converter) const { - return std::round(converter->CP(raw_pixel_)); + return converter->CP(raw_pixel_); } int RawPixel::CP(double scale) const -- cgit v1.2.3