Skip to content
Snippets Groups Projects
Commit 3ffb9052 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Initialize member pointer to null by default

parent 8bbd089b
No related branches found
No related tags found
No related merge requests found
...@@ -327,7 +327,7 @@ class LLImportMaterial final : public LLModelMaterialBase ...@@ -327,7 +327,7 @@ class LLImportMaterial final : public LLModelMaterialBase
protected: protected:
LLUUID mDiffuseMapID; LLUUID mDiffuseMapID;
void* mOpaqueData; // allow refs to viewer/platform-specific structs for each material void* mOpaqueData = nullptr; // allow refs to viewer/platform-specific structs for each material
// currently only stores an LLPointer< LLViewerFetchedTexture > > to // currently only stores an LLPointer< LLViewerFetchedTexture > > to
// maintain refs to textures associated with each material for free // maintain refs to textures associated with each material for free
// ref counting. // ref counting.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment