Skip to content
Snippets Groups Projects
Commit 3f17d9f2 authored by Andy Nichols's avatar Andy Nichols
Browse files

Initialzie shaderinfo to nullptr (fixes qmlplugindump crash)

parent de3eac67
No related branches found
No related tags found
No related merge requests found
...@@ -569,7 +569,7 @@ private: ...@@ -569,7 +569,7 @@ private:
bool m_hasRefraction = false; bool m_hasRefraction = false;
bool m_hasVolumetricDF = false; bool m_hasVolumetricDF = false;
QString m_source; QString m_source;
QDemonCustomMaterialShaderInfo *m_shaderInfo; QDemonCustomMaterialShaderInfo *m_shaderInfo = nullptr;
QVector<QDemonCustomMaterialRenderPass *> m_passes; QVector<QDemonCustomMaterialRenderPass *> m_passes;
bool m_alwaysDirty = false; bool m_alwaysDirty = false;
}; };
......
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