summaryrefslogtreecommitdiff
path: root/src/render/nullopenglgraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/nullopenglgraphics.cpp')
-rw-r--r--src/render/nullopenglgraphics.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/render/nullopenglgraphics.cpp b/src/render/nullopenglgraphics.cpp
index 5a2c4f0d9..16b1b5523 100644
--- a/src/render/nullopenglgraphics.cpp
+++ b/src/render/nullopenglgraphics.cpp
@@ -70,7 +70,7 @@ NullOpenGLGraphics::~NullOpenGLGraphics()
delete [] mIntVertArray;
}
-void NullOpenGLGraphics::initArrays(const int vertCount)
+void NullOpenGLGraphics::initArrays(const int vertCount) restrict2
{
mMaxVertices = vertCount;
if (mMaxVertices < 500)
@@ -530,7 +530,7 @@ void NullOpenGLGraphics::drawRescaledPattern(const Image *restrict const image,
inline void NullOpenGLGraphics::drawVertexes(const
OpenGLGraphicsVertexes
- &ogl)
+ &restrict ogl) restrict2
{
const std::vector<GLint*> &intVertPool = ogl.mIntVertPool;
std::vector<GLint*>::const_iterator iv;
@@ -1210,7 +1210,8 @@ void NullOpenGLGraphics::clearScreen() const restrict2
}
#ifdef DEBUG_BIND_TEXTURE
-void NullOpenGLGraphics::debugBindTexture(const Image *const image)
+void NullOpenGLGraphics::debugBindTexture(const Image *restrict const image)
+ restrict2
{
const std::string texture = image->getIdPath();
if (mOldTexture != texture)
@@ -1226,7 +1227,8 @@ void NullOpenGLGraphics::debugBindTexture(const Image *const image)
}
}
#else
-void NullOpenGLGraphics::debugBindTexture(const Image *const image A_UNUSED)
+void NullOpenGLGraphics::debugBindTexture(const Image *restrict const
+ image A_UNUSED) restrict2
{
}
#endif