aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/linuxmoto
diff options
context:
space:
mode:
authorMax Horn2010-03-08 10:29:00 +0000
committerMax Horn2010-03-08 10:29:00 +0000
commit28c6c600d45b4ce16f13d08cfc7c9fbcc8461a63 (patch)
treee76ab0466cd13402b343b63ed814bc38d0774717 /backends/platform/linuxmoto
parent9fb27a26f86dcf888cb26cc1b4622c5a10de3fb5 (diff)
downloadscummvm-rg350-28c6c600d45b4ce16f13d08cfc7c9fbcc8461a63.tar.gz
scummvm-rg350-28c6c600d45b4ce16f13d08cfc7c9fbcc8461a63.tar.bz2
scummvm-rg350-28c6c600d45b4ce16f13d08cfc7c9fbcc8461a63.zip
Move some aspect ratio related stuff to graphics/scaler/aspect.h
svn-id: r48186
Diffstat (limited to 'backends/platform/linuxmoto')
-rw-r--r--backends/platform/linuxmoto/linuxmoto-events.cpp2
-rw-r--r--backends/platform/linuxmoto/linuxmoto-graphics.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/backends/platform/linuxmoto/linuxmoto-events.cpp b/backends/platform/linuxmoto/linuxmoto-events.cpp
index 007f7c732b..4bb3568ebd 100644
--- a/backends/platform/linuxmoto/linuxmoto-events.cpp
+++ b/backends/platform/linuxmoto/linuxmoto-events.cpp
@@ -24,7 +24,7 @@
*/
#include "backends/platform/linuxmoto/linuxmoto-sdl.h"
-#include "backends/platform/sdl/sdl.h"
+#include "graphics/scaler/aspect.h" // for aspect2Real
static int mapKey(SDLKey key, SDLMod mod, Uint16 unicode) {
if (key >= SDLK_F1 && key <= SDLK_F9) {
diff --git a/backends/platform/linuxmoto/linuxmoto-graphics.cpp b/backends/platform/linuxmoto/linuxmoto-graphics.cpp
index b25dc16b91..01d954f9b9 100644
--- a/backends/platform/linuxmoto/linuxmoto-graphics.cpp
+++ b/backends/platform/linuxmoto/linuxmoto-graphics.cpp
@@ -29,6 +29,7 @@
#include "graphics/font.h"
#include "graphics/fontman.h"
#include "graphics/scaler.h"
+#include "graphics/scaler/aspect.h"
#include "graphics/scaler/downscaler.h"
#include "graphics/surface.h"