diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-04-22 23:16:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-22 23:16:10 +0300 |
commit | f5536169ce6143ae39bcfd8b353e6495dac76a72 (patch) | |
tree | 650a42f303452291e4201728b5b33c1f4fb3339d /src/graphicsvertexes.h | |
parent | fbcbf7e3f54443477aa6098bd41f825167dd1e76 (diff) | |
download | manaverse-f5536169ce6143ae39bcfd8b353e6495dac76a72.tar.gz manaverse-f5536169ce6143ae39bcfd8b353e6495dac76a72.tar.bz2 manaverse-f5536169ce6143ae39bcfd8b353e6495dac76a72.tar.xz manaverse-f5536169ce6143ae39bcfd8b353e6495dac76a72.zip |
Small optimisation in opengl gui drawing.
Diffstat (limited to 'src/graphicsvertexes.h')
-rw-r--r-- | src/graphicsvertexes.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/graphicsvertexes.h b/src/graphicsvertexes.h index 2ab54197d..d3905ba56 100644 --- a/src/graphicsvertexes.h +++ b/src/graphicsvertexes.h @@ -73,19 +73,19 @@ class OpenGLGraphicsVertexes GLint *switchIntTexArray(); - std::vector<GLfloat*> &getFloatTexPool() - { return mFloatTexPool; } + std::vector<GLfloat*> *getFloatTexPool() + { return &mFloatTexPool; } - std::vector<GLint*> &getIntVertPool() - { return mIntVertPool; } + std::vector<GLint*> *getIntVertPool() + { return &mIntVertPool; } - std::vector<GLint*> &getIntTexPool() - { return mIntTexPool; } + std::vector<GLint*> *getIntTexPool() + { return &mIntTexPool; } void switchVp(int n); - std::vector<int> &getVp() - { return mVp; } + std::vector<int> *getVp() + { return &mVp; } void init(); |