diff options
Diffstat (limited to 'backends/sdl/sdl_gl.cpp')
-rw-r--r-- | backends/sdl/sdl_gl.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/backends/sdl/sdl_gl.cpp b/backends/sdl/sdl_gl.cpp index 652ecb6a93..4fab4f0f5a 100644 --- a/backends/sdl/sdl_gl.cpp +++ b/backends/sdl/sdl_gl.cpp @@ -139,6 +139,14 @@ void OSystem_SDL_OpenGL::load_gfx_mode() { _scaleFactor = 3; _scaler_proc = AdvMame3x; break; + case GFX_HQ2X: + _scaleFactor = 2; + _scaler_proc = HQ2x; + break; + case GFX_HQ3X: + _scaleFactor = 3; + _scaler_proc = HQ3x; + break; case GFX_TV2X: _scaleFactor = 2; _scaler_proc = TV2x; @@ -147,10 +155,6 @@ void OSystem_SDL_OpenGL::load_gfx_mode() { _scaleFactor = 2; _scaler_proc = DotMatrix; break; - case GFX_HQ3X: - _scaleFactor = 3; - _scaler_proc = HQ3x; - break; default: error("unknown gfx mode %d", _mode); |