summaryrefslogtreecommitdiff
path: root/src/render/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-09 19:56:58 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-09 19:56:58 +0300
commit73e3236e9e3971efa3c5079df079c25bbefa2ba7 (patch)
tree9ea4af1d3b392c7469753fda4e69d5a36543e0a1 /src/render/graphics.cpp
parent7dd7d00d8206cdf83c6e517044fe598f3a013020 (diff)
downloadplus-73e3236e9e3971efa3c5079df079c25bbefa2ba7.tar.gz
plus-73e3236e9e3971efa3c5079df079c25bbefa2ba7.tar.bz2
plus-73e3236e9e3971efa3c5079df079c25bbefa2ba7.tar.xz
plus-73e3236e9e3971efa3c5079df079c25bbefa2ba7.zip
Show error message in log if selected texture compression not supported.
Diffstat (limited to 'src/render/graphics.cpp')
-rw-r--r--src/render/graphics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp
index 463cac8f1..1e2e7884d 100644
--- a/src/render/graphics.cpp
+++ b/src/render/graphics.cpp
@@ -302,6 +302,7 @@ bool Graphics::setOpenGLMode()
graphicsManager.initOpenGL();
initArrays(graphicsManager.getMaxVertices());
+ graphicsManager.updateTextureCompressionFormat();
graphicsManager.updateTextureFormat();
updateMemoryInfo();