aboutsummaryrefslogtreecommitdiff
path: root/graphics/scaler
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/scaler')
-rw-r--r--graphics/scaler/intern.h12
-rw-r--r--graphics/scaler/thumbnail_intern.cpp4
2 files changed, 8 insertions, 8 deletions
diff --git a/graphics/scaler/intern.h b/graphics/scaler/intern.h
index ff515530dd..6fc0d6919b 100644
--- a/graphics/scaler/intern.h
+++ b/graphics/scaler/intern.h
@@ -30,12 +30,12 @@
#include "graphics/colormasks.h"
-#define highBits ColorMasks<bitFormat>::highBits
-#define lowBits ColorMasks<bitFormat>::lowBits
-#define qhighBits ColorMasks<bitFormat>::qhighBits
-#define qlowBits ColorMasks<bitFormat>::qlowBits
-#define redblueMask ColorMasks<bitFormat>::kRedBlueMask
-#define greenMask ColorMasks<bitFormat>::kGreenMask
+#define highBits Graphics::ColorMasks<bitFormat>::highBits
+#define lowBits Graphics::ColorMasks<bitFormat>::lowBits
+#define qhighBits Graphics::ColorMasks<bitFormat>::qhighBits
+#define qlowBits Graphics::ColorMasks<bitFormat>::qlowBits
+#define redblueMask Graphics::ColorMasks<bitFormat>::kRedBlueMask
+#define greenMask Graphics::ColorMasks<bitFormat>::kGreenMask
/**
diff --git a/graphics/scaler/thumbnail_intern.cpp b/graphics/scaler/thumbnail_intern.cpp
index bdfa0ff5f6..52547f47f1 100644
--- a/graphics/scaler/thumbnail_intern.cpp
+++ b/graphics/scaler/thumbnail_intern.cpp
@@ -118,7 +118,7 @@ static bool grabScreen565(Graphics::Surface *surf) {
g = palette[((uint8*)screen->pixels)[y * screen->pitch + x] * 4 + 1];
b = palette[((uint8*)screen->pixels)[y * screen->pitch + x] * 4 + 2];
- ((uint16*)surf->pixels)[y * surf->w + x] = RGBToColor<ColorMasks<565> >(r, g, b);
+ ((uint16*)surf->pixels)[y * surf->w + x] = Graphics::RGBToColor<Graphics::ColorMasks<565> >(r, g, b);
}
}
@@ -209,7 +209,7 @@ bool createThumbnail(Graphics::Surface *surf, const uint8 *pixels, int w, int h,
g = palette[pixels[y * w + x] * 3 + 1];
b = palette[pixels[y * w + x] * 3 + 2];
- ((uint16 *)screen.pixels)[y * screen.w + x] = RGBToColor<ColorMasks<565> >(r, g, b);
+ ((uint16 *)screen.pixels)[y * screen.w + x] = Graphics::RGBToColor<Graphics::ColorMasks<565> >(r, g, b);
}
}