diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-05-08 05:20:03 +0200 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-05-08 05:20:03 +0200 |
| commit | 289086edc68364b9ad3ab923a4e859ad3a9228be (patch) | |
| tree | f118dc6f72c589bbd18d29d8e82f4ae46473fc1d /unity-shared | |
| parent | 66741265017279abf65eada68817f34527475dac (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.cpp | 2 |
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 |
