From d5f18590fd5919631814cb91129f2c06ff01d60f Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 22 Jun 2016 10:35:37 +0100 Subject: [PATCH] Added intializers --- include/osg/Texture | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/osg/Texture b/include/osg/Texture index ad07eb98e..d7ffc9086 100644 --- a/include/osg/Texture +++ b/include/osg/Texture @@ -1006,6 +1006,7 @@ class OSG_EXPORT Texture : public osg::StateAttribute _next(0), _texture(texture), _allocated(false), + _frameLastUsed(0), _timeStamp(0) {} inline TextureObject(Texture* texture, GLuint id, const TextureProfile& profile): @@ -1016,6 +1017,7 @@ class OSG_EXPORT Texture : public osg::StateAttribute _next(0), _texture(texture), _allocated(false), + _frameLastUsed(0), _timeStamp(0) {} inline TextureObject(Texture* texture, @@ -1034,6 +1036,7 @@ class OSG_EXPORT Texture : public osg::StateAttribute _next(0), _texture(texture), _allocated(false), + _frameLastUsed(0), _timeStamp(0) {} inline bool match(GLenum target,