From 96e9f6385a4f42a2e9c4857a84b37fa2e0b24315 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Tue, 15 Sep 2020 12:26:57 +0900 Subject: [PATCH] sw_engine: code refactoring. removed unused macro. Change-Id: I894050103e4c4a939da4f4cb526759a40a9ccd58 --- src/lib/sw_engine/tvgSwRle.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib/sw_engine/tvgSwRle.cpp b/src/lib/sw_engine/tvgSwRle.cpp index 37a860f..545237d 100644 --- a/src/lib/sw_engine/tvgSwRle.cpp +++ b/src/lib/sw_engine/tvgSwRle.cpp @@ -99,12 +99,6 @@ static inline SwPoint UPSCALE(const SwPoint& pt) } -static inline SwPoint DOWNSCALE(const SwPoint& pt) -{ - return {pt.x >> (PIXEL_BITS - 6), pt.y >> (PIXEL_BITS - 6)}; -} - - static inline SwPoint TRUNC(const SwPoint& pt) { return {pt.x >> PIXEL_BITS, pt.y >> PIXEL_BITS}; -- 2.7.4