summaryrefslogtreecommitdiff
path: root/src/render/mobileopenglgraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/mobileopenglgraphics.cpp')
-rw-r--r--src/render/mobileopenglgraphics.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/render/mobileopenglgraphics.cpp b/src/render/mobileopenglgraphics.cpp
index 8c1c07c0f..a875befc9 100644
--- a/src/render/mobileopenglgraphics.cpp
+++ b/src/render/mobileopenglgraphics.cpp
@@ -127,7 +127,7 @@ void MobileOpenGLGraphics::initArrays(const int vertCount)
mShortVertArrayCached = new GLshort[sz];
}
-void MobileOpenGLGraphics::deleteArrays()
+void MobileOpenGLGraphics::deleteArrays() restrict2
{
deleteArraysInternal();
}
@@ -1051,7 +1051,7 @@ void MobileOpenGLGraphics::fillRectangle(const Rect &restrict rect) restrict2
drawRectangle(rect, true);
}
-void MobileOpenGLGraphics::setTexturingAndBlending(const bool enable)
+void MobileOpenGLGraphics::setTexturingAndBlending(const bool enable) restrict2
{
if (enable)
{
@@ -1270,7 +1270,7 @@ void MobileOpenGLGraphics::dumpSettings()
}
}
-void MobileOpenGLGraphics::setColorAlpha(const float alpha)
+void MobileOpenGLGraphics::setColorAlpha(const float alpha) restrict2
{
if (!mIsByteColor && mFloatColor == alpha)
return;
@@ -1280,7 +1280,7 @@ void MobileOpenGLGraphics::setColorAlpha(const float alpha)
mFloatColor = alpha;
}
-void MobileOpenGLGraphics::restoreColor()
+void MobileOpenGLGraphics::restoreColor() restrict2
{
if (mIsByteColor && mByteColor == mColor)
return;
@@ -1310,7 +1310,7 @@ void MobileOpenGLGraphics::calcImageRect(ImageVertexes *restrict const vert,
#include "render/graphics_calcImageRect.hpp"
}
-void MobileOpenGLGraphics::clearScreen() const
+void MobileOpenGLGraphics::clearScreen() const restrict2
{
mglClear(GL_COLOR_BUFFER_BIT |
GL_DEPTH_BUFFER_BIT |