aboutsummaryrefslogtreecommitdiff
path: root/common/scaler/thumbnail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/scaler/thumbnail.cpp')
-rw-r--r--common/scaler/thumbnail.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/scaler/thumbnail.cpp b/common/scaler/thumbnail.cpp
index 8ada19a670..49d2eb9154 100644
--- a/common/scaler/thumbnail.cpp
+++ b/common/scaler/thumbnail.cpp
@@ -24,7 +24,6 @@
#include "common/scummsys.h"
#include "common/system.h"
-#include "common/scaler.h"
#include "common/scaler/intern.h"
template<int bitFormat>
@@ -69,6 +68,8 @@ void createThumbnail_4(const uint8* src, uint32 srcPitch, uint8* dstPtr, uint32
}
}
+#include "common/scaler.h"
+
void createThumbnail(const uint8* src, uint32 srcPitch, uint8* dstPtr, uint32 dstPitch, int width, int height) {
// only 1/2 and 1/4 downscale supported
if (width != 320 && width != 640)