Commit 3590e4c0 authored by Robert Osfield's avatar Robert Osfield
Browse files

Added missing initializer

parent a752a163
......@@ -28,7 +28,8 @@ class TextureAttribute : public StateAttribute
_textureUnit(0) {}
TextureAttribute(const TextureAttribute& ta, const CopyOp& copyop=CopyOp::SHALLOW_COPY):
StateAttribute(ta, copyop) {}
StateAttribute(ta, copyop),
_textureUnit(0) {}
virtual bool isTextureAttribute() const { return true; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment