aboutsummaryrefslogtreecommitdiff
path: root/graphics/scaler
diff options
context:
space:
mode:
authorJohannes Schickel2013-08-02 17:48:31 +0200
committerJohannes Schickel2013-08-02 17:48:31 +0200
commitff451ba2dc8c417d781f362f4af80aec44b57341 (patch)
treee55d4024d2b70ccad8dd4cb3784b303b18f466b1 /graphics/scaler
parent9a787fa5861061580711073d5e2403d54887a421 (diff)
downloadscummvm-rg350-ff451ba2dc8c417d781f362f4af80aec44b57341.tar.gz
scummvm-rg350-ff451ba2dc8c417d781f362f4af80aec44b57341.tar.bz2
scummvm-rg350-ff451ba2dc8c417d781f362f4af80aec44b57341.zip
GRAPHICS: Slight formatting fixes in thumbnail_intern.cpp.
Diffstat (limited to 'graphics/scaler')
-rw-r--r--graphics/scaler/thumbnail_intern.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/graphics/scaler/thumbnail_intern.cpp b/graphics/scaler/thumbnail_intern.cpp
index d51eff59e8..347a25ec37 100644
--- a/graphics/scaler/thumbnail_intern.cpp
+++ b/graphics/scaler/thumbnail_intern.cpp
@@ -149,7 +149,6 @@ static void scaleThumbnail(Graphics::Surface &in, Graphics::Surface &out) {
uint8 pG = (uint8)((1 - yDiff) * ((1 - xDiff) * p1G + xDiff * p2G) + yDiff * ((1 - xDiff) * p3G + xDiff * p4G));
uint8 pB = (uint8)((1 - yDiff) * ((1 - xDiff) * p1B + xDiff * p2B) + yDiff * ((1 - xDiff) * p3B + xDiff * p4B));
-
WRITE_UINT16(dst, Graphics::RGBToColor<Graphics::ColorMasks<565> >(pR, pG, pB));
dst += 2;
}
@@ -165,7 +164,7 @@ static void scaleThumbnail(Graphics::Surface &in, Graphics::Surface &out) {
* Copies the current screen contents to a new surface, using RGB565 format.
* WARNING: surf->free() must be called by the user to avoid leaking.
*
- * @param surf the surface to store the data in it
+ * @param surf the surface to store the data in it
*/
static bool grabScreen565(Graphics::Surface *surf) {
Graphics::Surface *screen = g_system->lockScreen();