summaryrefslogtreecommitdiff
path: root/src/render/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-25 01:14:37 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-25 01:14:37 +0300
commitce28ac8bfcea7ea926fa132a23f7814682dca0dc (patch)
treed4edf63b01bb9e80638be2caa7d596e17a17a248 /src/render/graphics.cpp
parentf0f4f43d1263f946be23b75de4de28a4731cc93a (diff)
downloadplus-ce28ac8bfcea7ea926fa132a23f7814682dca0dc.tar.gz
plus-ce28ac8bfcea7ea926fa132a23f7814682dca0dc.tar.bz2
plus-ce28ac8bfcea7ea926fa132a23f7814682dca0dc.tar.xz
plus-ce28ac8bfcea7ea926fa132a23f7814682dca0dc.zip
Add restrict keyword in openglgraphicsdef.hpp
Diffstat (limited to 'src/render/graphics.cpp')
-rw-r--r--src/render/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp
index 1fa8ebce1..8db05d850 100644
--- a/src/render/graphics.cpp
+++ b/src/render/graphics.cpp
@@ -406,7 +406,7 @@ void Graphics::updateMemoryInfo()
#endif
}
-int Graphics::getMemoryUsage() const
+int Graphics::getMemoryUsage() const restrict2
{
#ifdef USE_OPENGL
if (!mStartFreeMem)