summaryrefslogtreecommitdiff
path: root/unity-shared
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2014-05-08 05:20:03 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2014-05-08 05:20:03 +0200
commit289086edc68364b9ad3ab923a4e859ad3a9228be (patch)
treef118dc6f72c589bbd18d29d8e82f4ae46473fc1d /unity-shared
parent66741265017279abf65eada68817f34527475dac (diff)
RawPixel: no need to round here, EMConverter will do it
(bzr r3794.5.4)
Diffstat (limited to 'unity-shared')
-rw-r--r--unity-shared/RawPixel.cpp2
1 files changed, 1 insertions, 1 deletions
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