diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-17 21:08:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-17 22:31:22 +0300 |
commit | 932a7f3ca748f04448c72c5d31515bc3a8008144 (patch) | |
tree | cc8f8af7da04d8c1c724dde76c7f6e895293871f /src/graphicsvertexes.h | |
parent | 3293fb7b5df3c93b7b6cccf56feb4fa42fd1ea41 (diff) | |
download | manaplus-932a7f3ca748f04448c72c5d31515bc3a8008144.tar.gz manaplus-932a7f3ca748f04448c72c5d31515bc3a8008144.tar.bz2 manaplus-932a7f3ca748f04448c72c5d31515bc3a8008144.tar.xz manaplus-932a7f3ca748f04448c72c5d31515bc3a8008144.zip |
Optimisation in drawing map in opengl mode.
Diffstat (limited to 'src/graphicsvertexes.h')
-rw-r--r-- | src/graphicsvertexes.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/graphicsvertexes.h b/src/graphicsvertexes.h index b01496b09..ac5168b4f 100644 --- a/src/graphicsvertexes.h +++ b/src/graphicsvertexes.h @@ -102,10 +102,13 @@ class OpenGLGraphicsVertexes void clear(); - private: + int ptr; + GLfloat *mFloatTexArray; GLint *mIntTexArray; GLint *mIntVertArray; + + private: std::vector<GLfloat*> mFloatTexPool; std::vector<GLint*> mIntVertPool; std::vector<GLint*> mIntTexPool; |