diff options
author | Johannes Schickel | 2013-08-16 05:29:56 +0200 |
---|---|---|
committer | Johannes Schickel | 2013-10-19 22:12:01 +0200 |
commit | 46323074e77622e7d08fe20bfdcc459b8eba08a3 (patch) | |
tree | 4bdb5ccf144faec961ee348199e6068097873441 /engines | |
parent | 8a6e57cba1c89f922e27bb72201cfda55681f6dc (diff) | |
download | scummvm-rg350-46323074e77622e7d08fe20bfdcc459b8eba08a3.tar.gz scummvm-rg350-46323074e77622e7d08fe20bfdcc459b8eba08a3.tar.bz2 scummvm-rg350-46323074e77622e7d08fe20bfdcc459b8eba08a3.zip |
OPENGL: Add new generic OpenGL (ES) backend.
This backend is based on ideas of the old OpenGL backend, of the Android GL
backend and of the iPhone GL backend.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/engine.cpp b/engines/engine.cpp index c84404cc68..52020c772e 100644 --- a/engines/engine.cpp +++ b/engines/engine.cpp @@ -183,7 +183,7 @@ void initCommonGFX(bool defaultTo1XScaler) { g_system->setGraphicsMode(gfxMode.c_str()); // HACK: For OpenGL modes, we will still honor the graphics scale override - if (defaultTo1XScaler && (gfxMode.equalsIgnoreCase("gl1") || gfxMode.equalsIgnoreCase("gl2") || gfxMode.equalsIgnoreCase("gl4"))) + if (defaultTo1XScaler && (gfxMode.equalsIgnoreCase("opengl_linear") || gfxMode.equalsIgnoreCase("opengl_nearest"))) g_system->resetGraphicsScale(); } } |