summaryrefslogtreecommitdiff
path: root/src/graphicsvertexes.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-18 00:23:51 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-18 00:23:51 +0300
commit6fbcdfbbb6a8ad2ba73bde2a5043b523df8ff244 (patch)
treef89b797be3797bddea62096d1993e0c3b273a58d /src/graphicsvertexes.h
parentc0d0f64cc4d9df7dc0430cf33eff118fc951ee35 (diff)
downloadManaVerse-6fbcdfbbb6a8ad2ba73bde2a5043b523df8ff244.tar.gz
ManaVerse-6fbcdfbbb6a8ad2ba73bde2a5043b523df8ff244.tar.bz2
ManaVerse-6fbcdfbbb6a8ad2ba73bde2a5043b523df8ff244.tar.xz
ManaVerse-6fbcdfbbb6a8ad2ba73bde2a5043b523df8ff244.zip
Fix code style.
Diffstat (limited to 'src/graphicsvertexes.h')
-rw-r--r--src/graphicsvertexes.h6
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();