diff options
author | Max Horn | 2003-09-21 12:10:32 +0000 |
---|---|---|
committer | Max Horn | 2003-09-21 12:10:32 +0000 |
commit | 74e3448a4cdb49154e7fe794bff90226ef4b0828 (patch) | |
tree | 174478175f74282dcacf3016713e0b868c86a16d /backends/sdl/sdl.cpp | |
parent | 9af8549c9552fd94ac8e4c4f47f0263b8aa27512 (diff) | |
download | scummvm-rg350-74e3448a4cdb49154e7fe794bff90226ef4b0828.tar.gz scummvm-rg350-74e3448a4cdb49154e7fe794bff90226ef4b0828.tar.bz2 scummvm-rg350-74e3448a4cdb49154e7fe794bff90226ef4b0828.zip |
added HQ3x filter
svn-id: r10346
Diffstat (limited to 'backends/sdl/sdl.cpp')
-rw-r--r-- | backends/sdl/sdl.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/backends/sdl/sdl.cpp b/backends/sdl/sdl.cpp index daf4a58b0d..25e5aec488 100644 --- a/backends/sdl/sdl.cpp +++ b/backends/sdl/sdl.cpp @@ -90,6 +90,10 @@ void OSystem_SDL::load_gfx_mode() { _scaleFactor = 2; _scaler_proc = DotMatrix; break; + case GFX_HQ3X: + _scaleFactor = 3; + _scaler_proc = HQ3x; + break; case GFX_BILINEAR: case GFX_DOUBLESIZE: @@ -135,9 +139,9 @@ void OSystem_SDL::load_gfx_mode() { // Distinguish 555 and 565 mode if (_hwscreen->format->Rmask == 0x7C00) - Init_2xSaI(555); + InitScalers(555); else - Init_2xSaI(565); + InitScalers(565); // Need some extra bytes around when using 2xSaI uint16 *tmp_screen = (uint16 *)calloc(_tmpScreenWidth * (_screenHeight + 3), sizeof(uint16)); |