summaryrefslogtreecommitdiff
path: root/src/render/nullopenglgraphics.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/nullopenglgraphics.cpp
parentf0f4f43d1263f946be23b75de4de28a4731cc93a (diff)
downloadmanaverse-ce28ac8bfcea7ea926fa132a23f7814682dca0dc.tar.gz
manaverse-ce28ac8bfcea7ea926fa132a23f7814682dca0dc.tar.bz2
manaverse-ce28ac8bfcea7ea926fa132a23f7814682dca0dc.tar.xz
manaverse-ce28ac8bfcea7ea926fa132a23f7814682dca0dc.zip
Add restrict keyword in openglgraphicsdef.hpp
Diffstat (limited to 'src/render/nullopenglgraphics.cpp')
-rw-r--r--src/render/nullopenglgraphics.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/render/nullopenglgraphics.cpp b/src/render/nullopenglgraphics.cpp
index c8030e104..5a2c4f0d9 100644
--- a/src/render/nullopenglgraphics.cpp
+++ b/src/render/nullopenglgraphics.cpp
@@ -89,7 +89,7 @@ void NullOpenGLGraphics::initArrays(const int vertCount)
mIntVertArray = new GLint[sz];
}
-void NullOpenGLGraphics::deleteArrays()
+void NullOpenGLGraphics::deleteArrays() restrict2
{
}
@@ -1023,7 +1023,7 @@ void NullOpenGLGraphics::fillRectangle(const Rect &restrict rect) restrict2
drawRectangle(rect, true);
}
-void NullOpenGLGraphics::setTexturingAndBlending(const bool enable)
+void NullOpenGLGraphics::setTexturingAndBlending(const bool enable) restrict2
{
if (enable)
{
@@ -1171,7 +1171,7 @@ void NullOpenGLGraphics::dumpSettings()
{
}
-void NullOpenGLGraphics::setColorAlpha(const float alpha)
+void NullOpenGLGraphics::setColorAlpha(const float alpha) restrict2
{
if (!mIsByteColor && mFloatColor == alpha)
return;
@@ -1180,7 +1180,7 @@ void NullOpenGLGraphics::setColorAlpha(const float alpha)
mFloatColor = alpha;
}
-void NullOpenGLGraphics::restoreColor()
+void NullOpenGLGraphics::restoreColor() restrict2
{
if (mIsByteColor && mByteColor == mColor)
return;
@@ -1205,7 +1205,7 @@ void NullOpenGLGraphics::calcImageRect(ImageVertexes *restrict const vert,
#include "render/graphics_calcImageRect.hpp"
}
-void NullOpenGLGraphics::clearScreen() const
+void NullOpenGLGraphics::clearScreen() const restrict2
{
}