From 3293fb7b5df3c93b7b6cccf56feb4fa42fd1ea41 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Jul 2011 20:23:57 +0300 Subject: Reserve some memory for image vectors. --- src/graphicsvertexes.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/graphicsvertexes.h') 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(); -- cgit v1.2.3-70-g09d2