diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-08 01:04:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-08 01:04:33 +0300 |
commit | 410dd6c3d845cc0e19fd678090d95669bdeb5885 (patch) | |
tree | d9f0003f0f68212d1c99890f603c3d280b24669b /src/render/graphics.cpp | |
parent | dce5065a2df5f6ac0057702f704b6ab4f16ce8f8 (diff) | |
download | manaverse-410dd6c3d845cc0e19fd678090d95669bdeb5885.tar.gz manaverse-410dd6c3d845cc0e19fd678090d95669bdeb5885.tar.bz2 manaverse-410dd6c3d845cc0e19fd678090d95669bdeb5885.tar.xz manaverse-410dd6c3d845cc0e19fd678090d95669bdeb5885.zip |
Add Modern OpenGL render type.
Now it using normal OpenGL renderer.
Diffstat (limited to 'src/render/graphics.cpp')
-rw-r--r-- | src/render/graphics.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp index 44307add7..5bb90e753 100644 --- a/src/render/graphics.cpp +++ b/src/render/graphics.cpp @@ -303,6 +303,7 @@ bool Graphics::setOpenGLMode() if (rectTex && OpenGLImageHelper::getInternalTextureType() == 4 && getOpenGL() != RENDER_GLES_OPENGL + && getOpenGL() != RENDER_MODERN_OPENGL && config.getBoolValue("rectangulartextures") && !graphicsManager.isUseTextureSampler()) { |