diff options
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/graphics.cpp | 1 | ||||
-rw-r--r-- | src/render/renderers.cpp | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp index 1e2e7884d..613a87b89 100644 --- a/src/render/graphics.cpp +++ b/src/render/graphics.cpp @@ -312,6 +312,7 @@ bool Graphics::setOpenGLMode() if (rectTex && OpenGLImageHelper::getInternalTextureType() == 4 && getOpenGL() != RENDER_GLES_OPENGL + && getOpenGL() != RENDER_GLES2_OPENGL && getOpenGL() != RENDER_MODERN_OPENGL && config.getBoolValue("rectangulartextures") && !graphicsManager.isUseTextureSampler()) diff --git a/src/render/renderers.cpp b/src/render/renderers.cpp index 9c0834e85..7af602548 100644 --- a/src/render/renderers.cpp +++ b/src/render/renderers.cpp @@ -51,6 +51,7 @@ RenderType intToRenderType(const int mode) && mode != RENDER_MODERN_OPENGL && mode != RENDER_SAFE_OPENGL && mode != RENDER_GLES_OPENGL + && mode != RENDER_GLES2_OPENGL && mode != RENDER_SDL2_DEFAULT) #elif !defined(USE_OPENGL) && defined(USE_SDL2) && mode != RENDER_SDL2_DEFAULT) @@ -60,7 +61,8 @@ RenderType intToRenderType(const int mode) && mode != RENDER_NORMAL_OPENGL && mode != RENDER_MODERN_OPENGL && mode != RENDER_SAFE_OPENGL - && mode != RENDER_GLES_OPENGL) + && mode != RENDER_GLES_OPENGL + && mode != RENDER_GLES2_OPENGL) #endif { return getDefault(); |