Merge pull request #15719 from SamGondelman/crash

BUGZ-545: Possible fix for Mac PolyLine-related crash
This commit is contained in:
Shannon Romano 2019-06-10 12:56:31 -07:00 committed by GitHub
commit 1982424ee9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ protected:
bool _faceCamera { false };
bool _glow { false };
size_t _numVertices;
size_t _numVertices { 0 };
gpu::BufferPointer _polylineDataBuffer;
gpu::BufferPointer _polylineGeometryBuffer;
static std::map<std::pair<render::Args::RenderMethod, bool>, gpu::PipelinePointer> _pipelines;