summaryrefslogtreecommitdiff
path: root/src/graphicsvertexes.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-28 15:22:00 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-28 15:22:00 +0300
commit096de2a656c036a241dd5f10c2bf28ae4d4dbe5a (patch)
treed79c67e9c78c87be1776334bc4a7cc00e427ba94 /src/graphicsvertexes.cpp
parenta53a7ddf1fb503d6158aea6518f9d5f81bee7b5d (diff)
downloadmanaverse-096de2a656c036a241dd5f10c2bf28ae4d4dbe5a.tar.gz
manaverse-096de2a656c036a241dd5f10c2bf28ae4d4dbe5a.tar.bz2
manaverse-096de2a656c036a241dd5f10c2bf28ae4d4dbe5a.tar.xz
manaverse-096de2a656c036a241dd5f10c2bf28ae4d4dbe5a.zip
improve some files.
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();