diff options
Diffstat (limited to 'src/graphicsvertexes.cpp')
-rw-r--r-- | src/graphicsvertexes.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/graphicsvertexes.cpp b/src/graphicsvertexes.cpp index 16fe7cec9..407d5ef0c 100644 --- a/src/graphicsvertexes.cpp +++ b/src/graphicsvertexes.cpp @@ -134,6 +134,13 @@ int NormalOpenGLGraphicsVertexes::continueVp() } } +void NormalOpenGLGraphicsVertexes::updateVp(int n) +{ + if (!mVp.empty()) + mVp.pop_back(); + mVp.push_back(n); +} + GLfloat *NormalOpenGLGraphicsVertexes::continueFloatTexArray() { if (mFloatTexPool.empty()) |