summaryrefslogtreecommitdiff
path: root/src/graphicsvertexes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsvertexes.cpp')
-rw-r--r--src/graphicsvertexes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphicsvertexes.cpp b/src/graphicsvertexes.cpp
index ff5445956..4b5b28c6a 100644
--- a/src/graphicsvertexes.cpp
+++ b/src/graphicsvertexes.cpp
@@ -133,7 +133,7 @@ GLint *NormalOpenGLGraphicsVertexes::switchIntTexArray()
return mIntTexArray;
}
-void NormalOpenGLGraphicsVertexes::switchVp(int n)
+void NormalOpenGLGraphicsVertexes::switchVp(const int n)
{
mVp.push_back(n);
}
@@ -152,7 +152,7 @@ int NormalOpenGLGraphicsVertexes::continueVp()
}
}
-void NormalOpenGLGraphicsVertexes::updateVp(int n)
+void NormalOpenGLGraphicsVertexes::updateVp(const int n)
{
if (!mVp.empty())
mVp.pop_back();