diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-18 00:23:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-18 00:23:51 +0300 |
commit | 6fbcdfbbb6a8ad2ba73bde2a5043b523df8ff244 (patch) | |
tree | f89b797be3797bddea62096d1993e0c3b273a58d /src/graphicsvertexes.h | |
parent | c0d0f64cc4d9df7dc0430cf33eff118fc951ee35 (diff) | |
download | plus-6fbcdfbbb6a8ad2ba73bde2a5043b523df8ff244.tar.gz plus-6fbcdfbbb6a8ad2ba73bde2a5043b523df8ff244.tar.bz2 plus-6fbcdfbbb6a8ad2ba73bde2a5043b523df8ff244.tar.xz plus-6fbcdfbbb6a8ad2ba73bde2a5043b523df8ff244.zip |
Fix code style.
Diffstat (limited to 'src/graphicsvertexes.h')
-rw-r--r-- | src/graphicsvertexes.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/graphicsvertexes.h b/src/graphicsvertexes.h index ac5168b4f..5b39dfb08 100644 --- a/src/graphicsvertexes.h +++ b/src/graphicsvertexes.h @@ -122,10 +122,12 @@ class ImageVertexes { public: ImageVertexes() : - image(0), - ogl(new OpenGLGraphicsVertexes()) + image(0) { sdl.reserve(30); +#ifdef USE_OPENGL + ogl = new OpenGLGraphicsVertexes(); +#endif } ~ImageVertexes(); |