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.
This commit is contained in:
parent
8a6e57cba1
commit
46323074e7
11 changed files with 2064 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue