diff --git a/Basic_viewer/include/CGAL/Buffer_for_vao.h b/Basic_viewer/include/CGAL/Buffer_for_vao.h index 63a9413447a..d5773b9b879 100644 --- a/Basic_viewer/include/CGAL/Buffer_for_vao.h +++ b/Basic_viewer/include/CGAL/Buffer_for_vao.h @@ -884,13 +884,13 @@ protected: typedef CGAL::Constrained_Delaunay_triangulation_2 CDT; protected: - std::vector* m_pos_buffer; - std::vector* m_index_buffer; - std::vector* m_color_buffer; - mutable std::vector* m_flat_normal_buffer; - mutable std::vector* m_gouraud_normal_buffer; + std::vector* m_pos_buffer=nullptr; + std::vector* m_index_buffer=nullptr; + std::vector* m_color_buffer=nullptr; + mutable std::vector* m_flat_normal_buffer=nullptr; + mutable std::vector* m_gouraud_normal_buffer=nullptr; - CGAL::Bbox_3* m_bb; + CGAL::Bbox_3* m_bb=nullptr; bool m_zero_x; /// True iff all points have x==0 bool m_zero_y; /// True iff all points have y==0