From 932a7f3ca748f04448c72c5d31515bc3a8008144 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Jul 2011 21:08:56 +0300 Subject: Optimisation in drawing map in opengl mode. --- src/graphicsvertexes.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/graphicsvertexes.h') 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 mFloatTexPool; std::vector mIntVertPool; std::vector mIntTexPool; -- cgit v1.2.3-60-g2f50