diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-17 20:23:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-17 20:23:57 +0300 |
commit | 3293fb7b5df3c93b7b6cccf56feb4fa42fd1ea41 (patch) | |
tree | bb1a7119235d95c4af0930e20cea31f4d9074307 /src/graphicsvertexes.h | |
parent | 6afba95ef62b22c303336adba6d891eeffe66c49 (diff) | |
download | mv-3293fb7b5df3c93b7b6cccf56feb4fa42fd1ea41.tar.gz mv-3293fb7b5df3c93b7b6cccf56feb4fa42fd1ea41.tar.bz2 mv-3293fb7b5df3c93b7b6cccf56feb4fa42fd1ea41.tar.xz mv-3293fb7b5df3c93b7b6cccf56feb4fa42fd1ea41.zip |
Reserve some memory for image vectors.
Diffstat (limited to 'src/graphicsvertexes.h')
-rw-r--r-- | src/graphicsvertexes.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/graphicsvertexes.h b/src/graphicsvertexes.h index 55740ac98..b01496b09 100644 --- a/src/graphicsvertexes.h +++ b/src/graphicsvertexes.h @@ -121,7 +121,9 @@ class ImageVertexes ImageVertexes() : image(0), ogl(new OpenGLGraphicsVertexes()) - { } + { + sdl.reserve(30); + } ~ImageVertexes(); |