diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-30 08:10:47 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-30 08:13:26 +0000 |
commit | 6e2736705dbbeada40ae6663c006176d052d026a (patch) | |
tree | dc3528f29758008baf28c69d3ddc653eb34756f2 /slideshow/source/engine/OGLTrans | |
parent | e87f71cebee26624b4e9495b0acc172d47e705dd (diff) |
coverity#1332210 Uninitialized scalar field
Change-Id: I9f62e3f9d2bb517ad8f40400004670de1c4d06a5
Diffstat (limited to 'slideshow/source/engine/OGLTrans')
-rw-r--r-- | slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx index 1cb003d2250e..963397c1f80f 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx @@ -1650,9 +1650,17 @@ class VortexTransition : public ShaderTransition { public: VortexTransition(const TransitionScene& rScene, const TransitionSettings& rSettings, int nNX, int nNY) - : ShaderTransition(rScene, rSettings), - mnNX(nNX), - mnNY(nNY) + : ShaderTransition(rScene, rSettings) + , mnCenterLocation(0) + , mnTileXIndexLocation(0) + , mnTileYIndexLocation(0) + , mnVertexIndexInTileLocation(0) + , mnCenterBuffer(0) + , mnTileXIndexBuffer(0) + , mnTileYIndexBuffer(0) + , mnVertexIndexInTileBuffer(0) + , mnNX(nNX) + , mnNY(nNY) { mvCenters.resize(6*mnNX*mnNY); mvTileXIndexes.resize(6*mnNX*mnNY); |