summaryrefslogtreecommitdiff
path: root/src/graphicsvertexes.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-20 16:40:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-20 16:40:24 +0300
commit1e9b7c519953c73c6e5ca4ce2169eb674267c115 (patch)
tree5e331bef424935c0f6d2a2291eb189cd50f68a3d /src/graphicsvertexes.cpp
parentc63923c39572655f3d8e826b0fb2fd3ed253ae7f (diff)
downloadmv-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.gz
mv-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.bz2
mv-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.xz
mv-1e9b7c519953c73c6e5ca4ce2169eb674267c115.zip
fix style in other files.
Diffstat (limited to 'src/graphicsvertexes.cpp')
-rw-r--r--src/graphicsvertexes.cpp19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/graphicsvertexes.cpp b/src/graphicsvertexes.cpp
index 9ee5790ac..109b4de6a 100644
--- a/src/graphicsvertexes.cpp
+++ b/src/graphicsvertexes.cpp
@@ -28,7 +28,8 @@
unsigned int vertexBufSize = 500;
#endif
-SDLGraphicsVertexes::SDLGraphicsVertexes()
+SDLGraphicsVertexes::SDLGraphicsVertexes() :
+ mList()
{
mList.reserve(30);
}
@@ -44,7 +45,12 @@ NormalOpenGLGraphicsVertexes::NormalOpenGLGraphicsVertexes() :
mFloatTexArray(nullptr),
mIntTexArray(nullptr),
mIntVertArray(nullptr),
- mShortVertArray(nullptr)
+ mShortVertArray(nullptr),
+ mVp(),
+ mFloatTexPool(),
+ mIntVertPool(),
+ mShortVertPool(),
+ mIntTexPool()
{
mFloatTexPool.reserve(30);
mIntVertPool.reserve(30);
@@ -216,7 +222,11 @@ GLint *NormalOpenGLGraphicsVertexes::continueIntTexArray()
#endif
ImageVertexes::ImageVertexes() :
- image(nullptr)
+ image(nullptr),
+#ifdef USE_OPENGL
+ ogl(),
+#endif
+ sdl()
{
sdl.reserve(30);
}
@@ -232,7 +242,8 @@ ImageCollection::ImageCollection() :
currentGLImage(0),
#endif
currentImage(nullptr),
- currentVert(nullptr)
+ currentVert(nullptr),
+ draws()
{
}