From f5536169ce6143ae39bcfd8b353e6495dac76a72 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 22 Apr 2011 23:16:10 +0300 Subject: Small optimisation in opengl gui drawing. --- src/graphicsvertexes.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/graphicsvertexes.h') 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 &getFloatTexPool() - { return mFloatTexPool; } + std::vector *getFloatTexPool() + { return &mFloatTexPool; } - std::vector &getIntVertPool() - { return mIntVertPool; } + std::vector *getIntVertPool() + { return &mIntVertPool; } - std::vector &getIntTexPool() - { return mIntTexPool; } + std::vector *getIntTexPool() + { return &mIntTexPool; } void switchVp(int n); - std::vector &getVp() - { return mVp; } + std::vector *getVp() + { return &mVp; } void init(); -- cgit v1.2.3-70-g09d2