aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
Diffstat (limited to 'backends')
-rw-r--r--backends/sdl/sdl_gl.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/backends/sdl/sdl_gl.cpp b/backends/sdl/sdl_gl.cpp
index 5366b77550..b1867fde31 100644
--- a/backends/sdl/sdl_gl.cpp
+++ b/backends/sdl/sdl_gl.cpp
@@ -100,6 +100,13 @@ void OSystem_SDL_OpenGL::load_gfx_mode() {
_tmpScreenWidth = (_screenWidth + 3);
switch(_mode) {
+ case GFX_BILINEAR:
+ _usingOpenGL = true;
+ _mode = GFX_NORMAL;
+ _scaleFactor = 1;
+ _scaler_proc = Normal1x;
+ break;
+
case GFX_NORMAL:
_scaleFactor = 1;
_scaler_proc = Normal1x;